Re: Simple SEO URL [support thread]
No problem here, lankeeyankee. I actually talked to iRay on email 1 or twice, and he was a very nice person as far as I remember. I think everyone messed up once or twice (which is not true for myself, since i messed up a dozen times).
MSU did help many carts out there, and I believe it will continue to do so.
Re: Simple SEO URL [support thread]
Hi Yellow,
I'm having a little trouble getting your mod running on a test site on my local server (xampp)
zencart version is 1.3.8a running php5
I have the required mods installed as per your instructions.
I have uplaoded the files as per step 1.
I get stumped at Step 1 A.
My local zencart root folder does not currently contain a .htaccess file, so with NO .htaccess file in my root folder, I can get to my admin, and also my front page, but I can't get into any category pages or any other pages, I get this error
Object not found!
The requested URL was not found on this server. The link on the referring page seems to be wrong or outdated. Please inform the author of that page about the error.
If you think this is a server error, please contact the webmaster.
Error 404
localhost
05/07/08 22:36:57
Apache/2.2.6 (Win32) DAV/2 mod_ssl/2.2.6 OpenSSL/0.9.8g mod_autoindex_color PHP/5.2.5
So I then put the .htaccess file in my zencart root folder, and I get this error
Server error!
The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there was an error in a CGI script.
If you think this is a server error, please contact the webmaster.
Error 500
localhost
05/07/08 22:38:08
Apache/2.2.6 (Win32) DAV/2 mod_ssl/2.2.6 OpenSSL/0.9.8g mod_autoindex_color PHP/5.2.5
But I did notice a change of URL in the address bar, such as http://localhost/zencart/dvd-media-c-1
So I tried to edit the .htaccess file as per your instructions, but I'm not sure what they Rewritebase line should read ?
my zencart folder is located under the following path on my system
C:\xampp\htdocs\zencart
If anyone can offer some advise it would be greatly appreciated.
If you need anymore info, please let me know..
Thanks in advance,
Mike
Re: Simple SEO URL [support thread]
is mod_rewrite enabled in xampp\apache\conf\http.conf ? It is disabled by default in xampp
Re: Simple SEO URL [support thread]
Yup, mod rewrite needs to be enabled first on xampp
Then, in your case, the base will be /zencart/
Regards
Re: Simple SEO URL [support thread]
Q: does the .htaccess file go in the zen folder or in the domains root folder (if not the same)
domain/
or
domain/zencartfolder
Maybe this is Mikes problem?
Re: Simple SEO URL [support thread]
Tip to enable it on xampp:
Quote:
To enable mod_rewrite in xampp first go to the directory of installation <xampp-directory>\apache\conf and edit httpd.conf. Find the line which contains
#LoadModule rewrite_module modules/mod_rewrite.so
uncomment this(should be):
LoadModule rewrite_module modules/mod_rewrite.so
Also find AllowOverride None
Should be:
AllowOverride All
Then restart your server.
Re: Simple SEO URL [support thread]
Quote:
Originally Posted by
mydanilo
Q: does the .htaccess file go in the zen folder or in the domains root folder (if not the same)
domain/
or
domain/zencartfolder
Maybe this is Mikes problem?
It should go in zencart folder. For example, on my demo server at http://demo.rubikintegration.com/zencart/, i put the .htaccess file in /zencart/ folder, and in the .htaccess file I use /zencart/ for the base.
Re: Simple SEO URL [support thread]
Maybe to completely understand .htaccess stuff I want to clarify and maybe you can confirm if it is correct.
.htaccess need to go in the folder that it needs to control.
.htaccess RewriteBase or Base needs to be set relative to the folder structure of the domain. If installed in a sub directory of the domain, RewriteBase /subdir/
This has nothing to do with the root /public_html/ in my hosting account just with the location relative to the domains root.
My domain root might be /public_html/mydomain but test zencart is installed /public_html/mydomain/testzen so .htaccess will be put in /public_html/mydomain/testzen but I have to set RewriteBase /testzen/
Would these statements be correct? I was never completely clear on this. If it is correct, maybe this will shed some light for others as well. Half of the posts in Ultimate SEO support thred are about .htaccess location and settings.
Re: Simple SEO URL [support thread]
Correct. That's how it is.
Re: Simple SEO URL [support thread]
Quote:
Originally Posted by
yellow1912
Tip to enable it on xampp:
Then restart your server.
Thankyou...:clap::clap::clap: