: 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
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.
More posts by @Rambettina238
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.