Is there a simple way to remove the tag that appears at the end of your website for example the .php or .html find what i need
Well not sure why you want to do that but the .php & .html files all help a website function. Can you provide more info on why - what are you trying to achieve etc.
“Well not sure why you want to do that but the .php & .html files all help a website function. Can you provide more info on why - what are you trying to achieve etc.” hi, for example yourwebsite.com/help.php to be displayed as yourwebsite.com/help i think it looks better and it can get messy if i start adding in yourwebsite.com/help_and_so_on.php find what i need
Try adding the following to your .htaccess file: [CODE]RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME}.php -f RewriteRule ^(.*)$ $1.php[/CODE] DanEZPZ
“Well not sure why you want to do that but the .php & .html files all help a website function.” Can also be a good SEO trick, if you want your URL to rank for certain keywords, which your physical pagename might not be optimised for. eg: this page on our job board is called /cv-wizard.php but is renamed /free-cv The site dev did a rewrite from a header include: <li <?php if ($_SERVER['PHP_SELF'] == "/cv-wizard.php"){ echo "id='current'";} ?> ><a href="<?php echo ABS_URL;?>free-cv"</a></li> Over my head, but may be of help?
Thanks for all the info will give it ago ![]() find what i need
which one did you use or did you try something else? promostamper
After reading it, I have changed on my website for SEO reason. Links are working both index.php and index. My web host assure me no performance (landing) problem. There is an entry on wikipedia (I can't post links now, keywords: Rewrite engine) Thanks, Design promote |
Recent Posts AI is the future of technology? 2 comments Best Platform for Azure Certified Professionals? ![]() 2005 - 2022 the rise and fall of mobile traffic - and why 4 comments Office security 1 comments Scheduling meetings - Acuity nails it! Which Freelance Website is best for Pick the Project? 5 comments Wordpress alternative 6 comments ![]() Email checker - see if your email has been compromised 14 comments Anyone used Wix? 24 comments Business Websites... 3 comments I Dont Need a Website...! Massachusetts Institute Of Technology Anyone used EMERGE App? 1 comments ![]() Krack Attacks - WiFi Issue - The realistic risk to you 7 comments ![]() Opening Outlook attachments prompt for a password 4 comments |