Directory-level configuration file found mostly on Apache web servers
0
votes
1answer
4 views
find-new/posts&recent=1 as homepage: what about SEO?
I can't change the URL of my website with htaccess, because the query does not work anymore if I make it a pretty URL, so I am desparate to know what impact this will have on SEO. I mean, I have to ...
1
vote
1answer
39 views
How can I get my website to enable gzip compression?
I'm currently trying to increase the speed of my website and I noticed that, when I run it through ismyblogworking.com, I get a message that reads "your blog application doesn't support gzip ...
1
vote
0answers
15 views
Apache HeaderName does not work in .htaccess
So I have a .htaccess file in a subdirectory that contains a list of folders. In the main directory I have a .htaccess file that contains:
Options +Indexes
IndexOptions FancyIndexing
AddType ...
0
votes
0answers
47 views
SEO friendly URL
I want to create SEO friendly URL for my website. I am creating a .htaccess file but these file not run in Bluehost. Bluehost gets an "Internal Server Error":
The server encountered an internal ...
1
vote
1answer
57 views
What is occurring in this .htaccess file in regards to rewriting to clean URLs?
I have the following code in my .htaccess file, which is working fine and using "pretty" permalinks to reroute everything back to /index.php, and using $_GET values to serve customized content based ...
0
votes
0answers
16 views
Remove fb_action_ids of the URL with .htaccess
For some reason my host not let me have more than one htaccess so I have to make all the changes from the htaccess located in the root.
My directory tree is as follows:
..../
....index.html
....css
...
0
votes
2answers
53 views
Apache .htaccess URL rewriting is not working
I am using this code in .htaccess but the last line not giving any response:
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule ...
1
vote
1answer
37 views
Changing www to point to non-www, instead of the opposite, using .htaccess
I'm switching servers and need to change the following RewriteCond and RewriteRule commands in the .htaccess file.
Right now I'm pointing domain.com to www.domain.com using:
RewriteCond %{HTTP_HOST} ...
1
vote
1answer
44 views
Using RewriteBase in .htaccess to make links pretty
I'm working on a project right now and I'm trying to make the links pretty.
We have urls like this:
http://subdomain.domain.com/DynamicCountry/DynamicName/file.php
What I'm trying to do is set the ...
1
vote
1answer
30 views
Redirect with HTTP_HOST redirects to sub subdomain
The settings
I have the following .htaccess rule
RewriteCond %{HTTP_HOST} !^www\.
RewriteCond %{HTTP_HOST} !^de\.
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]
This works great to ...
1
vote
0answers
57 views
.htaccess language detection, redirect and friendly URLs [closed]
I'm having problems with my .htaccess file.
RewriteEngine On
RewriteCond %{HTTP:Accept-Language} (fr) [NC]
RewriteRule .* http://www.example.com/frans [R,L]
RewriteRule .* ...
1
vote
1answer
39 views
Need help writing htaccess / apache rule
I have some URLs which are now 404 due to site upgrade.
I want all URLs starting with www.example.com/archives/* to point to www.example.com/news.(notice that after archives there is a wildcard char)
...
0
votes
1answer
25 views
Using a front controller design pattern doesn't allow images to be served
I am currently using a front controller. All requests for my website go through it. I have a problem with image links like:
<img src="img/image.jpg" />
Then my front controller will try to ...
0
votes
0answers
25 views
Visitor statistics distorted due to domain forwarding
I am forwarding traffic from one domain to another which is hosting a site with Google Analytics. The forwarding is done via the registrar's URL forwarding tools, which allows us to avoid creating an ...
2
votes
1answer
35 views
Rebranding: how do I redirect my website to a new domain, and blog to a subdomain?
I have a website that I am rebranding and using a new domain name for. Right now it is primarily a blog hosted at the root.
I am going to be redirecting from www.old.com to www.new.com, and I also ...