I've been researching quite a bit, and I have not found a satisfactory answer for any of these questions:
I installed this mod on 1.3.8a- after figuring out a few hick-ups it works great overall. However, I've found some critical issues I really need to address. Based on feedback in this thread, I'm confident many others are having similar problems/ questions.
--index.php?main_page=xxxx Bug/ Can't Seem to Correct it--
There still a minor issue of some pages I can't properly fix. I tried a pre_replace fix from this thread, but for whatever reason, it had no effect whatsoever on the links.
On my site its strange because both links work:
https://www.mysite.com/index.php?main_page=login
https://www.mysite.com/login/
here's some other examples:
https://www.mysite.com/index.php?main_page=account
https://www.mysite.com/account/
Oh yeah--you might notice I tweaked things. I don't like extensions on my pages, so I cut off the .html. Someone had requested a fix for this months ago--I went ahead & posted my solution already on the forum. It works nearly perfect for me...
I can't figure out the PHP though on the zen cart links well enough however to get the pages to display links like:
https://www.mysite.com/login/
instead of:
https://www.mysite.com/index.php?main_page=login
here's whats strange for me.. automatic redirects is "on"--but for whatever reason BOTH links work, and it doesn't automatically redirect from "www.mysite.com/index.php?main_page=login" to "www.mysite.com/login/"
Anyway--sorry to be long winded, but what I really need is to just get the clean URLs to show up in the display--or get the site to post these links inside the HTML, since serverside it's already working.
--Serious Concern: Duplicate Links are working--
I'm also concerned because duplicate links are working & it's not redirecting. This can wreak havoc on my SEO type stuff--the whole driving point behind all of this. It also seems 404 headers are not being sent--AND I did try the fix posted earlier in this thread, but it didn't seem to work...
**
--Final Concern: Useless Symbols Plague my URLs--**
I'm trying to get rid of the little acronyms in the categories:
$this->reg_anchors = array(
'products_id' => '-p-',
'cPath' => '-c-',
'manufacturers_id' => '-m-',
'pID' => '-pi-',
'products_id_review' => '-pr-',
'products_id_review_info' => '-pri-',
You'll notice on any product you've got a "-p-" in the link, or any category has a -c- in the link. For my site at least this is completely unnecessary. Everything is 100% unique already, and I have no need whatsoever for these useless symbols in my URLs.
Aside, these symbols just make things busy, and at least to me, they are really unprofessional.
I don't want the category numbers in my links either.
So the question is... how can I cut / append the queries so it outputs cleaner URLs.. one without these little symbols and without category numbers...
--Summary--
Here's a summary of my questions.
**1-****How can I change the HTML output to display only links like this: mysite.com/xxxx/ **instead of mysite.com/index.php?main_page=xxxx (I already removed .html from my links)
(see examples above to know in what cases this happens)
**2-**I can't get the site to do 301 redirects off the duplicate links--and it appears the 404 headers are not getting output like they should. How can I get rid of these 'duplicate' links/ get the 301 redirects working properly (right now, I can put gibberish in the URL and it still appears/functions!!)
**3-**How can I cut the little symbols and numbers out of my URLs? It's superfluous and unprofessional--my URLs are already 100% unique as well, so I have no need for it...