Hacks

Individual URL optimization for every page

pw-kw  24-Jun-2011 13:21 319 Reads  0
My goal was to optimize the URL line individually for each page:

- regardless of modules
- regardless of file structures
- free text for your URL (SEO)
- individual for every page
- everything ends with .html or what ever you want


Example:

http://www.fanggebiete.de/modules/smartsection/item.php?itemid=1

should be to

http://www.fanggebiete.de/angelgewaes ... rte/angeln-in-bayern.html



Another example:

http://www.fanggebiete.de/modules/news/article.php?storyid=14

should be to

http://www.fanggebiete.de/angelseen/bayern/angeln-am-ammersee.html


If you want, you can see these two examples on the Internet …

For this solution, there is a file, where you can define the URL-list, like this:


/angelgewaesser/bayernkarte/angeln-in-bayern.html => /modules/smartsection/item.php?itemid=1

/angelseen/bayern/angeln-am-ammersee.html => /modules/news/article.php?storyid=14


After that, you have defined the URL-list, the list is automatically transmitted in the .htaccess-file


You see – very simple …

There is one main file hack to do. A few lines of code to insert. Create Custom URL list. Done. I've tested this with 2.2.5 and XOOPS XOOPS 2.5. Runs well.

I test everything through, and make the hack available for all XOOPS users. Maybe someone has the interest to cooperate. A module creation of this hack with backend administration would be a good next step.


Rating 0/5
Rating: 0/5 (0 votes)
Votes are disable!
Print article


Login

Username:
Password:

Lost Password? Register now!

Who's Online

82 user(s) are online (1 user(s) are browsing Publisher)


Members: 0


Guests: 82


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Jan 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits

Categories