View Single Post
  #482  
Old 05-21-2012, 09:39 AM
  Jon's Avatar 
Jon Jon is offline
 

X-Guru
  
Join Date: Oct 2002
Location: Vancouver, Canada
Posts: 4,200
 

Default Re: CDSEO Pro - Complete SEO Solution - Custom Urls, Page Titles, Meta Data, Link Anchors

Quote:
Originally Posted by tqualizerman
Hi Jon,

If I've created a custom .PHP modules can you advise if/how I can get CDSEO Pro to control the URLs generated by it?

CDSEO currently only handles the category/product/manufacturers/static pages.

Depending on the module, typically you can use mod rewrite for this. If it's just a page, you can do so by adding this code after "RewriteEngine on" in the CDSEO .htaccess code:

Code:
RewriteRule ^your-page.html(.*)$ your-file.php [L]

If you have dynamic urls, then you can set your script up to use urls such as: /your-page/variable/

Then use the code:

Code:
RewriteRule ^your-page/(.*)/$ your-page.php?variable=$1 [L]

Hope that helps.
Reply With Quote