Jump to content

Search the Community

Showing results for tags 'SEO FRIENDLY htaccess'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • CubeCart News & Announcements
    • News & Announcements
  • CubeCart Support Forums
    • Issue / Bug Reporting & Feature Requests
    • Install & Upgrade Support
    • Official CubeCart Hosting
    • Technical Help
    • Customising Look & Feel
  • CubeCart Extension Marketplace
    • Visit the CubeCart Extension Marketplace
    • Extension Discussion
    • Developer Forum
  • General
    • General Discussion
    • Show Off

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Location

Found 1 result

  1. I am using ver CC 5.08. and have not been able to get past the 404 error when turning on SEO URLs using the providing .htaccess. so I reviewed the mod rewrite docs and decided to try my own fixes. What I ended up with adding "%1" to the last rewrite rule: RewriteRule ^(.*).html?$ %1/index.php?seo_path=$1 [L,QSA] this fixed my 404 errors when using SEO friendly URLs. I hope this helps someone else. --john update: I guess I should have added my store is accessed like this store.domain.com and the above fix made that work, but then I found sometimes request were reverting back to what "store.domain.com" points to domain.com/store (which didn't work with the stock rewrite either for some reason ) to get both forms of the url to work this is what I ended up doing note: I had to hard code the "store" perhaps someone with more .htaccess knowledge could improve RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} !=/favicon.ico RewriteCond %{HTTP_HOST} ^store RewriteRule ^(.*).html?$ %1/index.php?seo_path=$1 [L,QSA] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} !=/favicon.ico RewriteRule ^(.*).html?$ %1/store/index.php?seo_path=$1 [L,QSA] I couldn't figure out how to get either to work with out hardcoding the "store". I hope this helps some of those who are having problems. --john
×
×
  • Create New...