i having a URL http://www.domain.com/wp/application/?productname
I want to change it to http://www.domain.com/wp/application/productname . if i have treated like this then page not found error is display. i don't have use of product name in my application page , i want to just show the name of product in URL for SEO. and page should be display the content of application page .
wp is my root folder and application is my page
Please Tell me Any solution htaccess or any plugin
How to remove ? from the URL using Htacccess(Wordpress)
I use following htaccess code. But it is not working for my condition .otherwise all pages are working well
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /wp/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /wp/index.php [L]
</IfModule>
You need to set your Permalinks structure.
Go to
Settings > Permalinks > Check the box 'Post Name', i.e. /%postname%/
If your .
htaccess
file is not writeable, go to the root of your WordPress installation and add what it tells you to add (The below):