The URL’s of our posts in WordPress looks like: https://blogbysid.wordpress.com/2013/04/26/creating-google-oauth-api-keys-and-developer-key/
Using the_permalink() would generate the link but if you want to get the link only and don’t want it to get displayed, what should we do ?
A lot of of the WordPress function have ‘return’ alternates using get as the operative word.
get_the_permalink() - To get the link get_the_time() - To get the time get_the_content() - To get the content
In Magento if you are getting the url as http://website.com/index.php/electronics/cell-phones.html and you want that index.php is not written on the url i.e. http://website.com/electronics/cell-phones.html.
Then use the following steps:
1) Login to admin section by using the URL
2) Then go to “System >> Configuration >>Web >> Search Engines Optimization”
Use Web Server Rewrites : YES
3) Go to “System >> Configuration >>Web >>Secure”
Use secure URL Frontend: YES