Change permalinks for specific pages

You can only have one page at example.com so let’s say you have an ‘about’ page: example.com/about In WordPress Settings > Reading Settings you can select a static page to be the homepage, so example.com would now show the ‘about’ page. Now, go to WordPress Settings > Permalinks and select Post name.

Protect Post Permalink From Copy

No, this isn’t practically possible. URLs are important part of whole HTTP protocol thing, web is built upon. Browser needs to make a request for a specific URL, which WordPress needs to process and return content. There is no practical way to set up this process. You could obscure it some browser–side, but it’s nothing … Read more

How to get rid of an extra middle part my permalink

It happens because you installed WordPress in a directory (called wordpress). You can update your Site Url and do some modifications to fix that. The Codex has a detailed article on how to proceed – https://codex.wordpress.org/Giving_WordPress_Its_Own_Directory#Using_a_pre-existing_subdirectory_install

Image URL and size

Resolved To remove the Class I added this snipped to my function.php function remove_image_class( $classes ) { $unneededClasses = array( ‘size-medium’ ); foreach ($unneededClasses as $unneededClass) { $classes = str_replace($unneededClass . ‘ ‘, ”, $classes); } return $classes; } add_filter( ‘get_image_tag_class’, ‘remove_image_class’ ); As you see, I did define an array which contains all the … Read more

Add category into post permalink

Please go to Settings > Permalinks. Have a look at the Permalinks page for other possibilities. For You I think you need to use: /%category%/%postname% Hope this help! UPDATE : For additional slug based on category : add_filter( ‘post_link’, ‘custom_permalink’, 10, 3 ); function custom_permalink( $permalink, $post, $leavename ) { // Get the categories for … Read more

Arabic permalink redirect to home page

IIS has a problem with RTL-languages in URLs. Check your database and page encoding is UTF-8. After that try to put into system.webServer tag <globalization requestEncoding=”utf-8″ responseEncoding=”utf-8″ fileEncoding=”utf-8″ /> If it does not help you may use free WordPress plugin Custom Transliteration with Arabic Transliteration

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)