Tagged Questions
1
vote
0answers
39 views
.htaccess rewriterule syntax on ipage
My mates and I are putting the finishing touches on our website hosted with ipage but we are just having one small issue with our .htaccess.
We want to make our urls SEO friendly (and neat) and the ...
1
vote
0answers
22 views
Redirect URL to another Rewritten URL
I am using the built in Joomla/Virtuemart SEF options on my website. What I am looking to do is redirect http://www.uniqbuy.com/electronics/component/virtuemart/
to
...
1
vote
0answers
31 views
how to append query string based on referrer using htaccess rewrite rule
Ok so i'm trying to come up with some rewrite rules in Iirf.ini and i can't quite get it.
I'm looking to check the referrer and then add something to the querystring of url you are hitting
1.so say i ...
1
vote
0answers
73 views
Redirecting domain(diff domain, same directory) using htacess
I'm trying to redirect to a different domain keeping the directory, so for example:
mysite.org/user/test
would be directed to:
mysite.com/user/test
I'm using Zend Framework, so this is what I ...
0
votes
0answers
60 views
MVC4 ActionLink() generating wrong url
I deployed an MVC4 application into a WebForms (.NET 4.0) website.
Everything seems to be working great except for each Html.ActionLink(...) is generating an incorrect href="#####" link attribute.
...
0
votes
0answers
29 views
url rewriting with .htaccess not working
Here is the code previously written in my .htaccess file which worked fine:
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]
RewriteCond ...
0
votes
0answers
32 views
How to redirect all wordpress posts permalinks to a subfolder?
This is my permalink structure:
/%category%/%postname%.html
now i moved the blog to this subfolder:
old/
What would be the .htaccess mod_rewrite to 301 redirect all links?
0
votes
0answers
49 views
mod_rewrite solution works as planned, but breaks my wildcard subdomains
I need help rewriting my URL with my .htaccess file
Here's how my URLs look:
www.website.com/?p=admin&i=items&x=375
I'd like them to look like this:
website.com/admin/item/375
The p, i, ...
0
votes
0answers
39 views
how to get htaccess to allow a period in the url
I'm using htaccess to allow my site to have "clean" url's, i.e. www.mysite.com/France instead of www.mysite.com/page.php?q=France. The code I'm using is as follows:
...
0
votes
0answers
53 views
How do I find a match for 24 digit alphanumeric query for .htaccess?
I've tried this but it doesn't work.
RewriteRule ^([a-zA-Z0-9]{1,24})$ poem.php?id=$1 [L,NC]
0
votes
0answers
51 views
htaccess issue, if url contains urlencoded URL
I use the following htaccess to reroute all requests to my bootstrap php file.
This works for everything, but no i want to introduce a share url, which causes a 404 (apache based, request does not ...
0
votes
0answers
33 views
Wordpress rewrite url
I've been looking at rewriting rules for wordpress, since i have a site http://mysite.com/abc/def/ghi
, and I want to be able to visit http://mysite.com/def/ghi without having 'abc' in the URL.
All ...
0
votes
0answers
32 views
.htaccess regex efficiency
I have a bunch of RewriteRules that are making my httpd.conf quite large. Is changing them to be like this inefficient / slow / bad form ?
Was: (repeat for each companyname - and no, don't ask, I ...
0
votes
0answers
53 views
.htaccess redirect rule error in mobile browser, not in desktop browser
In my server, i am having folder structure in this order..
public_html/mob/data/index.php
The .htaccess file is in data folder, and I would like my website to be accessible via the following URL:
...
0
votes
0answers
48 views
Locally hosted website not redirecting the links properly
I have a website (locally hosted) on Ubuntu Apache2 PHP5. Whenever I click a link on my webpage downloaded from net, it appends ...