Skip to content

Tag: .htaccess

How to rewrite url with htaccess?

I have to build up a bank search website. I want to rewrite url like below link bank Please see above link. In this when you select bank and all details the url is also changing. I want to use same url in codeigniter website which is the replica of this site. But all of you knows that codeigniter work

Heroku 403 Forbidden Error

I deployed a PHP application and when I hit the url, I get the following error: I guess it tries to go into the app/ directory but it can’t. My project structure: What the log shows: Procfile .htaccess Answer Ehhmm so I found the solution. My Procfile had a .txt extension (so Procfile.txt) whereas it ne…

clean url in core PHP

I’ve gone through the multiple threads on clean url,but still I get confuse on it.I want to use clean url strategy in core php website.I changed my .htaccess file for multiple urls.but my following code works only for one page(one url) Question 1. Above code works only for search.php and if I entered ww…

set urls with parameter to noindex in wordpress?

I’m looking for a solution to set all URLs which uses the parameter ‘?’ to noindex. I look for a php solution which I could use in the header.php in WordPress or in the .htaccess. I tryed this: This solution did not work and URLs with the parameter ‘?’ didn’t get a noindex …