Zen Cart Logo
Forums / All Other Contributions/Addons / Simple SEO URL new parser won't work

Simple SEO URL new parser won't work

Locked

Views: 870

Results 1 to 1 of 1
This thread is locked. New replies are disabled.
18 Oct 2010, 1:43 PM
#1
thebobajob avatar

thebobajob

New Zenner

Join Date:
Jul 2010
Posts:
6
Plugin Contributions:
0

Simple SEO URL new parser won't work

I have modified Simple SEO URL manufacturers.php parser to be used for News Box Manager. I almost have it working but can't get the links to be written on the pages correctly.

Currently they are being written in the sidebox and news archive like this:
more_news&news_id=4

If I then manually alter the URL in the address bar to:
more_news-n-4
Zencart then display the correct page with the correct URL of:
traffic-law-enforcement-centre-stage-at-the-european-road-safety-n-4

From then on that link is cached and written correctly in the sidebox and news archive.

Any ideas what I need to alter to get the links to write correctly in the first place? If I ckear the cache the URL's revert back to :
more_news&news_id=4

I would also like to add in a directory so the URL reads:
/news/traffic-law-enforcement-centre-stage-at-the-european-road-safety-n-4
Any hints on this?

I can't find any indepth info on writing additional parsers and I'm quite new to PHP.

Thanks
Bob Spencer