Make website appear on Google regardless of PHP routing


Over the past few days, I have been working on a new website. As of now, I have chosen to go with something similar to that of an MVC: I am using PHP for routing to other pages depending on a value retrieved by GET, changing some settings inside the .htaccess.

When I search for my website on Google, I find three links: one for the website and two for different subdomains:

The structure of the links on my website looks like this, because of the routing:

This is my .htaccess in case you need it:

RewriteEngine On

RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteCond %{REQUEST_FILENAME} !-f

RewriteRule ^(.+)$ index.php?url=$1 [QSA,L]

RewriteBase /

All the different parts of the website are linked together with a href, but I worry that may not be enough to make it fully SEO.

Is this a problem going to be a problem? Is there anything I can do about it?

Edit: what I am asking is whether or not this type of layout will be a problem regarding SEO. If that is the case, my follow-up question is what way I would go about fixing it, which most certainly would be a programming-related task (and so the question is not off-topic).

Show source
| php   | seo   | routing   2016-12-29 19:12 0 Answers

Answers ( 0 )

◀ Go back