skip to Main Content

.htaccess Remove filename from url – Apache

I'm trying to remove: "site.php" from my url:s, which look like "example.com/custom-foldername/site.php", so the url:s would look like "example.com/custom-foldername" Currently it's not working at all. Basically my site just doesn't change the url. I know that the .htaccess file is…

VIEW QUESTION

WordPress query string to change SEO friendly URL

I want to create SCO friendly URL in the WordPress. Also, I have added a hook in my functions.php file as below code but not working. My URL:http://bddlabs.com/webinar01/?id=pzlyglhbepotwpvbigdatadim_data&storyid=Story_997e9391-71d7-4fac-804b-de891c7aa595 I want http://bddlabs.com/webinar01/pzlyglhbepotwpvbigdatadim_data/Story_997e9391-71d7-4fac-804b-de891c7aa595 Is it possible? I am not sure about it.…

VIEW QUESTION

APACHE SSL WWW redirect to real name

In .htaccess file: # Enable mod_rewrite RewriteEngine on # Rewrite file name RewriteRule ^dome.htm$ dome.php [L,QSA] # Force www RewriteCond %{HTTP_HOST} !^$ RewriteCond %{HTTP_HOST} !^www. [NC] RewriteCond %{HTTPS}s ^on(s)| RewriteRule ^ http%1://www.%{HTTP_HOST}%{REQUEST_URI} [R=301,L] # Force SSL RewriteCond %{HTTPS} off RewriteRule…

VIEW QUESTION

Using Apache mod rewrite to modify a query string

I know it is possible to use mod rewrite in my htaccess Take: http://example.com/directory/perlscript.pl?base64encodedquery=jhfkjdshfsdf78fs8y7sd8 Make a shorter URL: http://example.com/? whatever just want to make it prettier Incoming: I am using use CGI; thus $qry->param('base64encodedquery')); Then I use use MIME::Base64 to…

VIEW QUESTION

Wamp url rewrite issue – Apache

My url is http://localhost/site.in/names-in.php?loc=kochi My required url is http://localhost/site.in/names-in/kochi I have this in .htaccess which unfortunately not working. Options +FollowSymLinks RewriteEngine on RewriteRule names-in/(.*)/ names-in.php?loc=$1 I have this in page print_r($_GET); which shows empty array. Any inputs why its not…

VIEW QUESTION
Back To Top
Search