I have developed a site, which ha开发者_StackOverflow社区s some static pages. Like explore, home, feedback.
The link for these goes as follows
website.com/views/explore.php website.com/index.php website.com/views/feedback.phpI want to write a different SEO URL for each of the URL mentioned above.
Is it possible ? i.e. for example website.com/views/explore.php should be convereted/visible as website.com/explore website.com/views/feedback.php should be convereted/visible as website.com/give/feedbackand so on
You can use these mod_rewrite rules to rewrite requests to /explore
and /give/feedback
internally to /views/explore.php
and /views/feedback.php
:
RewriteEngine on
RewriteRule ^explore$ views/explore.php [L]
RewriteRule ^give/feedback$ views/feedback.php [L]
with .htaccess file you can change any url on your site. i love this file.
if you are hosting website in ISS the you can try IIS SEO toolkit. & set dynamic URL itself in IIS see the indepth explaination by Scott about Imporve SEO by SEO Toolkit
精彩评论