Re: Restructuring the URL to remove the -p- and -c-
Quote:
Originally Posted by
melbournesigns
...
Previously we were running magic SEO and now our url's are slightly different.
...
The difference is the c- and p- for the categories and product codes. ...
Ultimate SEO URLs uses "anchors" (the -c-, -p-, -ez-, etc) to denote the type of page requested (category, product, ez-page, etc). These "anchors" allow a large range of flexibility with the URL formats (and avoids collisions with IDs and names). Using "anchors" also minimizes the amount of resources required to process the request and pass it along to Zen Cart (USU maps the requests directly instead of requiring database lookups).
If one knows the exact formats used by Magic SEO (and know the URLs will not result in any collisions), one can craft some custom RewriteRules in the .htaccess file to handle the old URLs from Magic SEO. One would probably want to place the custom RewriteRules after the majority of the USU rules and immediately preceding the following block of code to avoid causing any conflicts:
Code:
# All other pages
# Don't rewrite real files or directories
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index\.php?main_page=$1&%{QUERY_STRING} [L]
Re: Ultimate SEO 2.200+ (new features)
I upload all of the files to my server, but .htaccess disappeared. I can see it my PC. My server is justhost. appreciate if anybody help.
Re: Ultimate SEO 2.200 (new features) [Support Thread]
Quote:
Originally Posted by fanisme
htaccess disappeared. I can see it my PC.
Check your FTP client - to show hidden files
Re: Ultimate SEO 2.200 (new features) [Support Thread]
Quote:
Originally Posted by
kobra
Check your FTP client - to show hidden files
It still can't appear.
Re: Ultimate SEO 2.200 (new features) [Support Thread]
Quote:
Originally Posted by fanisme
It still can't appear.
Not a ZenCart issue
Googled for "ftp show hidden files"
https://www.google.com/search?q=ftp+...ient=firefox-a
Re: Ultimate SEO 2.200 (new features) [Support Thread]
Quote:
Originally Posted by
kobra
I'm using FileZilla and I have Selected "Force showing Hidden Files". I can see ".htaccess" on the FileZilla interface and I can find .htaccess on server through "search" of server, but I can't see it in the foldler which I upload it to. (on the FileZilla interface, I can see it even I didn't Selected "Force showing Hidden Files")
Re: Ultimate SEO 2.200+ (new features)
Quote:
Originally Posted by fanisme
but I can't see it in the foldler which I upload it to
Still, this is not a ZenCart Issue
Re: Ultimate SEO 2.200+ (new features)
Zen Cart 1.3.9h
Edit orders 3.0.3
Recovers cart sales v3.1.0
Super orders v3.0.x
Ty tracker v2.3a
Easy Populate v3.03
Experience: Semi Noob in zencart
I am trying to install Ultimate SEO 2.2.1 to my zencart 1.3.9h (plese see above for details) and am confused on the installation instructions in step 3 concerning the ".htaccess" file.
Where is this file found at in my zencart?
There seems to be a "htaccess" file in almost each and every sub-directory in the main zencart directory.
To be exact, which "htaccess" file are we talking about? All of them or just one of them, and in which subfolder?
I have 2 zencart websites installed under /htdocs/
they are: /htdocs/Zencart-01/
and /htdocs/Zencart-02/
Any help is greatly appreciated.
Re: Ultimate SEO 2.200+ (new features)
Also what do to if there is no "htaccess" file in the specific folder we are talking about?
Re: Ultimate SEO 2.200+ (new features)
Anybody Please Help?:bangin: