0
votes
0answers
9 views

Rewrite URL and Redirect using .htaccess modRewrite

I use .htaccess to rewrite and redirect a URL from http to https and here's the code I use: RewriteEngine On RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} ErrorDocument ...
0
votes
1answer
14 views

.htaccess not redirecting successfully for pretty url's

My .htaccess is as follows: Options +FollowSymLinks RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ ./backend-scripts/url_parser.php ...
0
votes
4answers
14 views

Htaccess rewrite not liking dashes

I use the following rewrite rule to behind the scenes rewrite addresses such as /pageName and /pageName/ to index.php?page=pageName. It works perfectly except when the pageName contains a -. ...
0
votes
1answer
31 views

How to create dynamic subdomain using PHP and htaccess?

I have one problem: I want to set up PHP and htaccess to make dynamic subdomains. And I can not figure out how. Currently my URL looks like this: ...
0
votes
0answers
5 views

Set Maintenance Page on Zend Framework site

In the public folder i have the following .htaccess file: Options -Indexes RewriteEngine On RewriteCond %{REQUEST_FILENAME} -s [OR] RewriteCond %{REQUEST_FILENAME} -l [OR] RewriteCond ...
1
vote
3answers
41 views

PHP .htaccess removing .php extension and language directory to parameter

I'm looking for a regulair expression for a .htaccess file inside my PHP server. What I want is that it detects the language from the first directory as parameter: nl en be de Any other options ...
0
votes
3answers
32 views

Allow access to all files from only 1 IP address and redirect all others to other file

I'm not sure if this has been answered before but I tried looking for it. Anyways, I'm currently developing a website but I would like to make the actual site content only accessible from my IP ...
0
votes
3answers
38 views

.htacces Appears only html with no CSS or PHP

I've been wondering on the internet on how to work with htacces(really hard to learn it). And when I was lurking in the internet, I found this: http://www.generateit.net/mod-rewrite/ Well, I inserted ...
0
votes
1answer
17 views

.htaccess alternative to B flag? (escape backreferences)

I have a .htaccess set up with the following: RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^([a-zA-Z0-9_-]+)/?$ profile.php?aid=$1 [L,QSA] This gets a users ...
-1
votes
0answers
16 views

Different modes one can install PHP on a webserver [on hold]

What are the different modes PHP can be installed on a webserver? I've heard of CGI and FastCGI. Is mod_php one of them? Are they all supported in all webservers?
0
votes
2answers
31 views

priority to index.html for index.php in .htaccess

i am trying to set the priority of index.php to index.html (but just for landing page) in my .htaccess file that works fine but for ?page_id=16 its also display the same index.html page that i ...
-2
votes
0answers
19 views

How to write redirect condtions in .htaccess file of Magento? [on hold]

I want to redirect the user to the another page called signup.php if he trying to access the index.php of magento site. and if the user is admin and wants to access the /admin account then it must not ...
0
votes
1answer
17 views

Allow access to folder which is inside the \application\ folder in Codeigniter

I was wondering, how i could give access to the public to files placed within a folder called 'Sample' which is placed inside /applications/views/ . I tried to to do it using .htaccess file. This ...
1
vote
1answer
11 views

Redirecting from .info to .com

I have two domain seooutlook.info,seooutlook.com both pointing to the same server. Now since both pointing to the same server,i dont want Google to see Duplicate files at two different domain names. ...
-4
votes
0answers
30 views

Is their any way to prevent popup for my site [on hold]

One of my site is being hosted on free web hosting plan of a company, so they put pop ads on my site. When ever somebody visits my site it pops hell lots of pop ads emerging on their background. ...

1 2 3 4 5 361
15 30 50 per page