Archive

Tag URL

WordPress: Update permalink from database

Posted on March 3, 2017 by Suresh Kamrushi in PHP

+20 Some reason, I am not able to access the admin and server is not supporting SEO friendly urls and I need to make website …

Htaccess and Modrewrite

Posted on August 10, 2013 by Suresh Kamrushi in PHP

In Windows, links will get to your pages regardless of capitalization (or lack of it). So if the search engine indexed your page when it was www.example.com/page01.htm, it will still find it even if you renamed it www.example.com/PAGE01.htm (but read on, as there ARE ways that capitalization might effect you). In a Linux or Unix-based environment, things are a little different. The good news is that the base URL

PHP Interview Questions – Magic Contant,Methods and Quotes

Posted on August 9, 2013 by Suresh Kamrushi in PHP

PHP provides a large number of predefined
constants to any script which it runs.There are seven magical constants that
change depending on where they are used. For example, the value of __LINE__
depends on the line that it’s used on in your script. These special constants
are case-insensitive and are as follows: