2
votes
1answer
26 views
htaccess Internal server error, authentication loop
I am attempting to set up htaccess to restrict access to a particular folder. I currently have as follows:
Htaccess:
AuthType Basic
AuthName "Restricted area"
AuthUserFile ...
0
votes
1answer
46 views
Added slash in href
I'm woundering how it's possible, this is my code:
echo '<span class="store_url">'.JText::_('WEB').': <a href="'.$item->store_url.'" ...
0
votes
0answers
16 views
Set the .htaccess path
This is something I was curious about earlier.
Now I'm presuming this isn't possible, after my Google searches. But i'd be interested to find out for certain.
Is it possible to specify the .htaccess ...
-1
votes
2answers
68 views
+50
Can 2 .htaccess files block URL rewriting
I have a codeigniter project inside the b1 folder in my public_html folder:
mydomain.com/b1/controller/function
I want to change it to:
mydomain.com/controller/function
in the browser bar using ...
0
votes
1answer
14 views
Protecting Image Folder And Images In Yii/PHP, Apache Blocks The Access
Currently I have a user_image directory under www and yii can access it in order to
populate the <img> tag in my form. But If someone copy the image link address,
they can access the user_image ...
0
votes
2answers
41 views
How to make page link in php program like this?
For instance, in tumblr.com, the page link will be like tumblr.com/dashboard/x, and x means page number.
In php, i used to set page like /?page=x.
I am wondering that how to make it working like ...
-2
votes
2answers
21 views
Redirecting To New Page With Query String By Using htaccess
How to redirect from:
http://sub.domain.com/index.php?abc=def&xyz=kml
to:
http://sub.domain.com/index2.php?abc=def&xyz=kml
By using .htaccess
I've never used .htaccess before. Thanks for ...
0
votes
1answer
15 views
Combining 2 htaccess rules for redirecting html pages to their updated php versions
i have some rules in my htaccess file that convert php query strings into paths. It looks like this:
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
...
0
votes
1answer
19 views
htaccess redirecting url where query string is urlencoded
Earlier on my site i haven't used php urlencode function to encode my url query parameters and google crawled those errors.
Now after implementing the change, those indexed old urls are giving 404 ...
0
votes
1answer
22 views
Having trouble with mod-rewrite and URL Scheme
I am trying to come up with the best URL scheme for my site for a plugin I am writing and am coming up against several collisions and road blocks.
The standard URL's look like
1 ...
1
vote
1answer
21 views
Rewriting and redirecting my urls with ? that has been indexed by google
So here's how it is, i am using codeigniter for my website, and before theres always that index.php? on my every url or links, for example mysite.com/index.php?/about
Google has indexed all of my ...
1
vote
1answer
51 views
Url Rewrite Help required
i'm still so new to url rewrite. Need some help here.
I'm trying to set a different subdomain name to each of the countries on my site.
Did some research, here's what i got
RewriteCond ...
0
votes
1answer
25 views
Non existent files not getting redirected to my custom 404 page. Works fine in local server
The below is my .htaccess file placed in the root
ErrorDocument 404 http://www.abc.com/404.php Redirect
/services/something.php http://www.abc.com/index.php
The second line is irrelevant I ...
0
votes
2answers
24 views
Rewrite URL Parameter containing dot
I think that I am trying to achieve an impossible result.
The scenario is PURL-Mailing and I already got some URL's rewritten to fit the URL, sent to the customer.
The customer enters the site by ...
0
votes
0answers
11 views
CakePHP asking for “<subfolder>Controller” in a sub-folder installation
I've recently installed cakePHP in a subdirectory (localhost/sub/cakephp).
I modified the 3 .htaccess like this:
.htaccess in /sub/cakephp:
<IfModule mod_rewrite.c>
RewriteEngine on
...