X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Third Party Add-Ons for X-Cart 4 (https://forum.x-cart.com/forumdisplay.php?f=45)
-   -   moving from .htm to .html with CDSEO Pro (https://forum.x-cart.com/showthread.php?t=42621)

golfguy 09-26-2008 06:50 AM

moving from .htm to .html with CDSEO Pro
 
My site has been running for years with pages named with .htm since CDSEO pro does not allow the .htm extension we thought we could go ahead and build our pages with the same names, except use the .html extension, and use a 301 redirect to send the spiders and users that use .htm to the new .html pages.

so far no luck...

I've tried these comand both above and below the CDSEO commands in my .htaccess file

RewriteRule ^(.*)\.htm$ $1.html [R=301,L]

RedirectMatch 301 ^/(.*)\.htm$ http://www.<MyDomain>.com/$1.html

I get 404 errors when entering a pagename with .htm, rather than displaying the .html version

Has anyone else had to do a redirect because of the extension? and got it to work?

I would appreciate any help, this is the last thing holding back moving to my new site.

Jon 09-26-2008 07:46 AM

Re: moving from .htm to .html with CDSEO Pro
 
If you update your support ticket with FTP I'll be happy to review and ensure the .htaccess is correct and correctly positioned in the file etc.

golfguy 09-26-2008 10:56 AM

Re: moving from .htm to .html with CDSEO Pro
 
Thank Jon!
I sent you an email

golfguy 10-04-2008 03:30 PM

Re: moving from .htm to .html with CDSEO Pro
 
Thanks so much for your help! we went live last night and everything is working great!


All times are GMT -8. The time now is 07:36 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.