Re: Ceon URI Mapping (SEO)
Below is the rewrite rule I create and place in the root of happyworkshopus.com
Not sure if anything wrong with it...
RewriteEngine On
RewriteCond %{HTTP_HOST} ^happyworkshopus.com$ [NC]
RewriteRule ^(.*)$ http://www.happyworkshopus.com/$1 [R=301,L]
# Don't rewrite any URIs ending with a file extension (ending with .[xxxxx])
RewriteCond %{REQUEST_URI} !\.[a-z]{2,5}$ [NC]
# Don't rewrite admin directory
RewriteCond %{REQUEST_URI} !^/adminfoldername [NC]
# Don't rewrite editors directory
RewriteCond %{REQUEST_URI} !^/editors [NC]
# Don't rewrite cPanel directories
RewriteCond %{REQUEST_URI} !/cpanel [NC]
RewriteCond %{REQUEST_URI} !/frontend [NC]
# Handle all other URIs using Zen Cart (index.php)
RewriteRule .* index.php?%{QUERY_STRING} [L]
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
sung2010
Below is the rewrite rule I create and place in the root of happyworkshopus.com
Not sure if anything wrong with it...
RewriteEngine On
RewriteCond %{HTTP_HOST} ^happyworkshopus.com$ [NC]
RewriteRule ^(.*)$ http://www.happyworkshopus.com/$1 [R=301,L]
# Don't rewrite any URIs ending with a file extension (ending with .[xxxxx])
RewriteCond %{REQUEST_URI} !\.[a-z]{2,5}$ [NC]
# Don't rewrite admin directory
RewriteCond %{REQUEST_URI} !^/adminfoldername [NC]
# Don't rewrite editors directory
RewriteCond %{REQUEST_URI} !^/editors [NC]
# Don't rewrite cPanel directories
RewriteCond %{REQUEST_URI} !/cpanel [NC]
RewriteCond %{REQUEST_URI} !/frontend [NC]
# Handle all other URIs using Zen Cart (index.php)
RewriteRule .* index.php?%{QUERY_STRING} [L]
Hi, just wondering if that 'cpanel ' would be a matter since I'm using iPage Hosting Company and they don't use cpanel but control panel that is alike cpanel. would it be a matter?
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
sung2010
Below is the rewrite rule I create and place in the root of happyworkshopus.com
Not sure if anything wrong with it...
It doesn't appear that that htaccess file is being used or something is wrong.
When I go to
happyworkshopus.com
it does NOT redirect to
www.happyworkshopus.com
which it appears it should do.
I really don't have the time to post much here so please just send me FTP and admin details for your site via my e-mail address and I'll log in and take a quick look. That's all I can do.
All the best..
Conor
ceon
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
conor
Hi,
It doesn't appear that that htaccess file is being used or something is wrong.
When I go to
happyworkshopus.com
it does NOT redirect to
www.happyworkshopus.com
which it appears it should do.
I really don't have the time to post much here so please just send me FTP and admin details for your site via my e-mail address and I'll log in and take a quick look. That's all I can do.
All the best..
Conor
ceon
Dear,
I'm so sorry. Will you mind to try again?
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
conor
Hi,
It doesn't appear that that htaccess file is being used or something is wrong.
When I go to
happyworkshopus.com
it does NOT redirect to
www.happyworkshopus.com
which it appears it should do.
I really don't have the time to post much here so please just send me FTP and admin details for your site via my e-mail address and I'll log in and take a quick look. That's all I can do.
All the best..
Conor
ceon
Hi Ceon,
I just tried ' happyworkshopus.com' and it direct to ' www.happyworkshopus.com ' , does it mean it's working? but I can't log in to admin (zen cart )
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
sung2010
I just tried ' happyworkshopus.com' and it direct to '
www.happyworkshopus.com ' , does it mean it's working? but I can't log in to admin (zen cart )
Yes, I've tested it myself and the rewrite rule is now working perfectly. Zen Cart is now being used to show 404 pages, which is correct.
You must have named the rule for the admin folder wrongly (you didn't post the name of the admin folder).
I'm afraid I can't be of any further help without actual FTP and admin details.
All the best..
Conor
ceon
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
conor
Hi,
Yes, I've tested it myself and the rewrite rule is now working perfectly. Zen Cart is now being used to show 404 pages, which is correct.
You must have named the rule for the admin folder wrongly (you didn't post the name of the admin folder).
I'm afraid I can't be of any further help without actual FTP and admin details.
All the best..
Conor
ceon
Dear ceon,
can I have your email ? and I'll send you the ftp information
Re: Ceon URI Mapping (SEO)
Hi CEON,
Should I send the ftp information to your PM?
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
sung2010
can I have your email ? and I'll send you the ftp information
You already have my e-mail address. I've sent you an e-mail. Please send both FTP AND admin details.
For peace of mind you can delete any accounts created for me afterwards.
Thanks,
Conor
Re: Ceon URI Mapping (SEO)
I've just sent to your PM