SEO / URL's / .htaccess.txt....Help
I have read myself around in circles about getting the product names to display in the URL address bar.
I’m on a Linux platform and have messed around with the .htaccess.txt and the Use SEO URL's: in OC Admin.
Can anyone point me in the right direction as how to get product groups and names to appear?
This is my .htaccess.txt
Options +FollowSymlinks
# Prevent Directoy listing
Options -Indexes
# Prevent Direct Access to files
<FilesMatch "\.tpl">
Order deny,allow
Deny from all
</FilesMatch>
# SEO URL Settings
RewriteEngine On
RewriteBase /
RewriteRule ^sitemap.xml$ index.php?route=feed/google_sitemap [L,QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)\?*$ index.php?_route_=$1 [L,QSA]
ErrorDocument 404 /index.php?route=error/not_found
Thanks
I have read myself around in circles about getting the product names to display in the URL address bar.
I’m on a Linux platform and have messed around with the .htaccess.txt and the Use SEO URL's: in OC Admin.
Can anyone point me in the right direction as how to get product groups and names to appear?
This is my .htaccess.txt
Options +FollowSymlinks
# Prevent Directoy listing
Options -Indexes
# Prevent Direct Access to files
<FilesMatch "\.tpl">
Order deny,allow
Deny from all
</FilesMatch>
# SEO URL Settings
RewriteEngine On
RewriteBase /
RewriteRule ^sitemap.xml$ index.php?route=feed/google_sitemap [L,QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)\?*$ index.php?_route_=$1 [L,QSA]
ErrorDocument 404 /index.php?route=error/not_found
Thanks
Hi daze50,
Do you mean - no products are displayed, and you get a 404?
Or that the products are displayed, but the URLs show the file path and not SEO URLs? ( You have to manually add keyword/s to each product, or use Auto SEO )
Or...something else?
Do you mean - no products are displayed, and you get a 404?
Or that the products are displayed, but the URLs show the file path and not SEO URLs? ( You have to manually add keyword/s to each product, or use Auto SEO )
Or...something else?

Hi
Im getting "The page you requested cannot be found!" where the range of products should be on the web page.
The Catagory in the URL is showing, that bit is now fine and I see how that works.
I will try this extension you have sugested above.
Thank for now
Im getting "The page you requested cannot be found!" where the range of products should be on the web page.
The Catagory in the URL is showing, that bit is now fine and I see how that works.
I will try this extension you have sugested above.
Thank for now
OK. Is your shop in a subfolder, such as /store? If so, your .htaccess RewriteBase code must read (eg)
I see you have the custom 404 code at the bottom of your .htaccess. If I understand Jay's posting correctly, this must also show /store in front of the /index.
If this is not the problem though, please post again.
Code: Select all
RewriteBase /store/
If this is not the problem though, please post again.
Hi
I should of been more clear soz, No its in my root folder.
Im not too sure what that bit of code means at the mo as I was doing some work on a 404.php file as google was telling me it could not find onw, but thats a diffrent thing.
I should of been more clear soz, No its in my root folder.
Im not too sure what that bit of code means at the mo as I was doing some work on a 404.php file as google was telling me it could not find onw, but thats a diffrent thing.
Ah, interesting - so you're still getting 'file not found'. Well, I am no expert, but .htaccess is the usual culprit.
The only thing I notice is that you've 2 lines of code in your .htaccess that are not in the default install.
For the custom 404 code, Jay advises that this should go at the top of the .htaccess file. If you move it to the top, do the links work? Otherwise, I would try commenting the line out for the moment, and see if it has any effect.
The only thing I notice is that you've 2 lines of code in your .htaccess that are not in the default install.
For the custom 404 code, Jay advises that this should go at the top of the .htaccess file. If you move it to the top, do the links work? Otherwise, I would try commenting the line out for the moment, and see if it has any effect.
Hi
Thanks for the pointes, I have tried all the above and now I’m just getting page not found from the server my site is on which seem a bit backwards as at least I was in my site getting page not found...lol
Dub.dub.dub.conf***ingconfused.com
Thanks for the pointes, I have tried all the above and now I’m just getting page not found from the server my site is on which seem a bit backwards as at least I was in my site getting page not found...lol
Dub.dub.dub.conf***ingconfused.com
Yeah, sorry not to be more help, but this is usually pretty straightforward
Mod_rewrite enabled, turn on SEO URLs in back office, activate .htaccess file. So we're missing something somewhere.
For info, I didn't add anything at all to my .htaccess: just renamed it, and it worked.
I'm assuming your site comes back OK when you turn off SEO URLs.

For info, I didn't add anything at all to my .htaccess: just renamed it, and it worked.
I'm assuming your site comes back OK when you turn off SEO URLs.
Check that the seo url is not the same for the product and the category.
That would stop products appearing.
If this is not it, its probably best to give a link as I can better understand the problem when I can see it.
That would stop products appearing.
If this is not it, its probably best to give a link as I can better understand the problem when I can see it.
Who is online
Users browsing this forum: No registered users and 15 guests