My understanding of it is to enable SEO in admin backend of OC (using 140 currently) but I believe I have to change some other settings for example apache modrewrite. Can anyone elaborate, maybe a dummies quite to setting this service up.
So far when I have tried to enable the OC setting it won't even load the homepage of my site.
Thanks once again in advance
Stewart
I believe the big step you missed is renaming .htaccess.txt to .htaccess and if need be changing rewritebase / to rewritebase /storefoler/ if you have it installed in a sub directory.
OpenCart commercial mods and development http://spotonsolutions.net
Layered Navigation
Shipment Tracking
Vehicle Year/Make/Model Filter
RewriteEngine on
RewriteCond %{HTTP_HOST} ^brockhamangling.co.uk$ [OR]
RewriteCond %{HTTP_HOST} ^www.brockhamangling.co.uk$
RewriteRule ^/?$ "http\:\/\/www\.thefishingandleisureshop\.com" [R=301,L]
However when i switch on the Use SEO URL's function on OC Backend then click on my site it does this
http://www.thefishingandleisureshop.com/Leisure%20Shop - URL
Not Found
The requested URL /Leisure Shop was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server at www.thefishingandleisureshop.com Port 80
well I'm guessing if you have the store installed in the root this .htaccess must be left over from some old install of something. You should rename it to .htaccess.bak or something (just incase you need it for some strange reason) and then rename .htaccess.txt to .htaccessshoo002 wrote:Thanks for your reply. In my root directory there is a file already named .htaccess the contents is as follows
RewriteEngine on
RewriteCond %{HTTP_HOST} ^brockhamangling.co.uk$ [OR]
RewriteCond %{HTTP_HOST} ^www.brockhamangling.co.uk$
RewriteRule ^/?$ "http\:\/\/www\.thefishingandleisureshop\.com" [R=301,L]
However when i switch on the Use SEO URL's function on OC Backend then click on my site it does this
http://www.thefishingandleisureshop.com/Leisure%20Shop - URL
Not Found
The requested URL /Leisure Shop was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server at http://www.thefishingandleisureshop.com Port 80
OpenCart commercial mods and development http://spotonsolutions.net
Layered Navigation
Shipment Tracking
Vehicle Year/Make/Model Filter
I have done the first step of renaming the .htaccess file in the root to .htaccess.bak (shop still seems to work)
The second step was to rename the htaccess.txt, the problem is I dont have that file in my root at all therefor i cant rename it. I am using filezilla and showing all hidden file but cant find htaccess.txt.
I am using Mac. Mac OSX by default hides any files starting with .
I downloaded OC140 Again to see if i have a htaccess.txt file but cant find one.
Any ideas
Thanks again
Stewart
Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.
OpenCart commercial mods and development http://spotonsolutions.net
Layered Navigation
Shipment Tracking
Vehicle Year/Make/Model Filter
http://www.thefishingandleisureshop.com/Leisure%20Shop
is the %20 normal or can i get rid of it somehow.
Thanks
Stewart.
http://www.thefishingandleisureshop.com/leisure-shop
I found a site that explained how to check if your server had Apache Mod_rewrite installed. I am using webmasters.com and it says that it is in deed working.
I renamed the .htaccess.txt to .htaccess in the carts home folder
I turned on SEO in the settings.
But when I check the website, it brings up what I would expect as the correct address - ie www.website.com/cartfolder/"seo name of category"
But the contents of the page, is that of the main home page of my regular site that I have built in Etomite. But its just the text, no background, formating, layot or anything, just text and links.
So obviously in its process of rewriting things... something is a miss. Any suggestions?
Thanks
Wade
Oooppps, did I do that?
Code: Select all
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)\?*$ index.php?_route_=$1 [L,QSA]
Code: Select all
RewriteEngine On
RewriteBase /cartfolder/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)\?*$ index.php?_route_=$1 [L,QSA]
Thanks
Wade
Oooppps, did I do that?
Wade C wrote:And change it to?Code: Select all
RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)\?*$ index.php?_route_=$1 [L,QSA]
Code: Select all
RewriteEngine On RewriteBase /cartfolder/ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)\?*$ index.php?_route_=$1 [L,QSA]
Thanks for this info.
Maybe a good thing to put this info in the manual!
I'm running v1.4.4 and am having issues with enabling seo urls (hangs head in shame)
I have renamed .htaccess.
My store is in the root directory.
I have enabled seo urls in the admin pages.
I have added a keyword to my "about us" page, however when I go to the website and click the about us page I get the following error
Code: Select all
Not Found
The requested URL /about-us was not found on this server.
Could someone give me a guide as to where to go next (politely please )
OpenCart commercial mods and development http://spotonsolutions.net
Layered Navigation
Shipment Tracking
Vehicle Year/Make/Model Filter
THEN I've randomly found out a website that explains.
I've commented out the following line as it seems to interfere with my version of apache.
# Options +FollowSymlinks
(also made a rookie error by calling the file .HTACCESS. rather than .HTACCESS (no dot))
all looks wonderful now.
For anyone else with a problem, I fully recommend this page: http://www.webune.com/forums/how-to-tes ... d-t40.html
Users browsing this forum: Bing [Bot] and 189 guests