Mobile app version of vmapp.org
Login or Join
Rambettina238

: Regarding: "Is this ok?" No, its not good/intuitive for your users and hence not good for SEO. You should be using something like this www.alanmarth.com/ (Main Page) www.alanmarth.com/servicios

@Rambettina238

Regarding: "Is this ok?"

No, its not good/intuitive for your users and hence not good for SEO. You should be using something like this
alanmarth.com/ (Main Page) alanmarth.com/servicios (Services) alanmarth.com/blog (Recent news) alanmarth.com/blog/nameOfCategory2 (News category) alanmarth.com/blog/titleOfBlog3 (A single entry)


Regarding: "how can I solve this without having to rewrite all my site?"

Are you talking about re-writing whole site code base or just the urls that are planted here and there? Re-writing whole code base is not necessary but you will have to replace the urls everywhere with the new SEO friendly urls. So you need to do following changes:


add to .htaccess file in your root folder with the following lines:

RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [QSA,L]


this will lead all your requests to be served by index.php


parse the $_SERVER['REQUEST_URI'] to figure out what section and category is this request all about. Like if the request uri is /blog this means that $_GET['seccion']=blog in your code. So map it accordingly. And so on.


Not much needs to be changed after that.

10% popularity Vote Up Vote Down


Login to follow query

More posts by @Rambettina238

0 Comments

Sorted by latest first Latest Oldest Best

Back to top | Use Dark Theme