Tagged Questions
0
votes
1answer
20 views
How to tell what changed in Compatibility Mode in IE
Is there a way to determine what is being changed in compatibility mode in IE?
I have a drop down menu (mega menu built into OpenCart) that renders properly in IE 8 on a XP version of Windows. But ...
0
votes
0answers
35 views
Ajax reload not working
I'll start this out by saying this: I'm very new to all of this. I'm really just crashing through everything I can find out. I'm an artist and a writer, I've only really gotten into developing this ...
0
votes
0answers
11 views
HTACCESS RewriteRule - Not sending query string from Pretty URL
I am having trouble with the RewriteRule. I have created a pretty URL for my search page where it posts to itself to query the results. However the $_GET['type'] variable is not being sent to the ...
0
votes
0answers
9 views
mod-auth-token setup with dynamic url
im install mod-auth-token https://code.google.com/p/mod-auth-token/,
But im not sure that i can understant how to setup to working on my site
my site is on
site.com
my video url - example
...
0
votes
2answers
31 views
Include $_GET param in URL only if option “selected”
I have searched and searched for the answer, but I have had no luck whatsoever.
I have a form with four Selects and only the first Select is required. These Selects have the Options populated by a ...
0
votes
0answers
17 views
htaccess in PHP - 2 rewrite
I have a 2 sets of rewrite rules.
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}\.php -f
RewriteRule ^(.*)$ $1.php
// IF 404
RewriteBase /
RewriteRule ^(.*)$ ...
0
votes
1answer
11 views
URL rewriting help (PHP/Wordpress)
I have been asked to modify the URLs in a Wordpress site which uses the WPML Multilingual CMS plugin in order to serve the website in different languages.
As of now, the URLs follow this structure:
...
2
votes
2answers
62 views
Check Screen Width then all Urls on the page Redirect to mobile if
I am a newbie to jQuery / javascript and I had this working without checking the window size first. Then messed around with it and can not get it to work. The redirect is supposed to replace ...
0
votes
0answers
26 views
Request exceeded the limit of 10 internal redirects due to probable configuration error?
I am running a wordpress based website.
When I activated my error Logs on server.
I am getting the following error. Thousands of times in a day.
AH00124: Request exceeded the limit of 10 internal ...
0
votes
2answers
34 views
Restrict Url by IP?
Is it possible to restrict access to a public URL to a single IP? For example, let's say I had this url:
www.mydomain.com/file.txt
I would like to parse this TXT file by another server and block ...
0
votes
1answer
28 views
.htaccess with codeigniter redirecting
I am using codeigniter trying to achieve this
test.html redirect to
index.php/test/test
well 1st test is folder name
& 2nd test is controller
1
vote
1answer
50 views
Codeigniter all urls are being routed to default controller
I'm hoping someone can give me a suggestion on how to fix this. I've developed a codeigniter app and just uploaded it to a godaddy subdomain. It was working perfectly locally, however when running ...
0
votes
1answer
12 views
Slim Framework proper htaccess setup with wordpress
I want to make an api with slim. it would be on my "tools" subdomain in a directory called api.
http://tools.fifaguide.com/api
What should my .htaccess file look like?
Currently my .htaccess is ...
0
votes
0answers
12 views
Dynamic .htaccess for CMS
I am building a custom content management system for clients. It's similar to Joomla, but is alot easier to develop customized modules, components, etc. Obviously, they can change the name and alias ...
0
votes
2answers
19 views
how to remove parts in url use htaccess
I have url :
http://localhost/project/home/index.php
I want remove /home/ in my url. How to do this?
My htaccess file
RewriteEngine on
RewriteBase /project/
RewriteRule ^home/(.+)$ $1/index.php
...
-4
votes
4answers
43 views
How to redirect page when i type it in browser? [closed]
How can i type in browser url example.com it can redirect to page example.com/project/home/index.php and in my url browser not change(still example.com).
-4
votes
0answers
46 views
.htaccess - I can't see my url [closed]
I was wondering if there is a quick solution for my website.
I put my website on my bookmark but when I click on the icon it's goes perfectly to my website BUT it's not displaying the link in the ...
0
votes
1answer
20 views
File location issue
I'm having trouble putting data in safe locations. What I want to do is allow my localhost to access the files to create my pages but prohibit all other access.
I started out trying to write a ...
0
votes
1answer
27 views
How to get a requested directory and resolve it to a file
I am wondering how I can get a request directory, lets call it http://doamin.com/page/ and get it to resolve to a page like http://doamin.com/page1.php but still show in the URL as the directory.
...
0
votes
2answers
33 views
PHP : file_put_contents failed on directory that created by mkdir
(we use vps on centos linux, but working on subdomain)
Here is my problem:
On localhost in windows, it is just fine, but on intenet in linux, Why the file_put_contents doesn't work in directory that ...
0
votes
0answers
17 views
PHP Sessions being recreated when using .htaccess ErrorDocument
I noticed that my Session variables are recreated, when my page has an image that does not exist, in the htaccess file I have
ErrorDocument 404 /index.php?__dir=error&__page=404
This loads a ...
0
votes
1answer
22 views
How to block post method on some url in htaccess
Is it possible to block POST method on some url like
www.mydomain.com/dontposthere
www.mydomain.com/something/againdontposthere
in htaccess ?
0
votes
1answer
17 views
Paypal with Htaccess Mod_Rewrite
I've got a problem with Paypal and Htaccess, I can't figure it out how can I integrate the Paypal query string with my mod_rewrite directive.
I have already tried to use the suggestion of this answer ...
0
votes
2answers
35 views
url rewriting with htacess not working
I have a static website upon which I have performed CMS but when I added .htaccess file for url rewriting its not working.
eg. www.example.in/new/index.php to www.example.in/new/index. there are ...
0
votes
1answer
30 views
Dynamic whitelist with htaccess allowing a form to add an IP to the whitelist?
Working on a dev site for a client, we want to deny all access from it, but allow easy whitelisting when out of office for meetings or working from home (dynamic ip).
What we want to happen, is have ...
1
vote
2answers
26 views
RewriteRule creating 500 Internal Server Error
I have the following in my .htaccess file:
Options +FollowSymLinks
RewriteEngine on
RewriteRule ^directory/(.*)$ directory/index.php?id=$1
What I'm trying to achieve is this:
When the URL ...
0
votes
0answers
12 views
Htaccess rewrite rule for string and substring
I have written the htaccess for my application which is working fine for all.
i.e.,
Options +FollowSymLinks
RewriteEngine On
RewriteBase /
RewriteRule ^/* ...
0
votes
3answers
27 views
Error in url rewrite if i remove .html from url
I am having some issues with url rewriting
I am using this as my code for rewrite in htaccess
RewriteEngine On
RewriteRule ^([^/]*)\.html$ /pages.php?id=$1 [L]
this was my url
...
0
votes
0answers
48 views
I want to make a url seo friendly
I need your help in making url much user friends.. currently the url is like this
http://missionbjp.com/currentaffair.php?id=108
but i made some changes to the code and saving the tile in the url ...
0
votes
0answers
26 views
cakephp not posting form as expected
Please do not go for close or delete question as its really a problem.
I have uploaded code at Runnable But some how if you see in firebug you will notice form is not posted at users/login action.
...
0
votes
0answers
35 views
mod_rewrite redirect to a sub dictionary dependent of php parameter
I want to redirect from a link like
index.php?site=recipes&id=2451
to
recipes/2451
and in fact in works pretty good beside one thing.
First my whole htaccess
RewriteEngine on
RewriteBase /
...
0
votes
0answers
24 views
User authenticated 'private' product images in Magento?
I currently have a Magento site where I have built code for users that are assigned to a dealer group so they can access extra views in Magento when logged in.
However I want to be able to give them ...
0
votes
1answer
31 views
Change URL name with mod rewrite on htaccess
I am having a tough time to understand how mod_rewrite works.
I have a url like this:
www.example.com/store/index.php?categ=headbands
And I want to make it look like this:
...
0
votes
1answer
32 views
Process php in .html files [closed]
I want to process php code in .html files. I saw solutions ( http://php.about.com/od/advancedphp/p/html_php.htm ) that asks to add "AddType application/x-httpd-php .html" in .htaccess file. I dont ...
0
votes
0answers
19 views
Handler flag “application/x-httpd-php-source” returns an HTTP404
My objective is the following:
When I type a URL without extension, I want to retrieve the php source code (as plain text).
When I type a URL with the .php extension, I want the server to process the ...
0
votes
1answer
39 views
How to simply rewrite URL in .htaccess to echo username
I know there are tons of questions already but looks like i'm missing a step.
I recently added a login/signup form to my website. Users can then fill out a quick bio on their profile.
The issue that ...
1
vote
1answer
21 views
.htaccess RewriteRule with multiple GET variables?
I saw a lot of similar questions, but I couldn't solve this problem with their answers..
I'm trying to do a URL Rewrite by converting
...
0
votes
0answers
46 views
codeigniter posting form data not working on linux server
I recently changed my website Go-Daddy hosting to Dedicated Server which is LINUX server.
But, there is some problem on POST FORM Data...
I tried many ways on changing .ht-access.
There is no ...
0
votes
2answers
15 views
Can crawlers access 'Deny From All' directories
Hello in my site I have a core folder, in which there is sensitive data, in which I have a htaccess file with 'Deny From All'. My question is can Google or some other crawler access that directory ...
-1
votes
0answers
23 views
htaccess rewrite rule based on Cookie [closed]
I want to redirect the request to a different site by checking whether the cookie "MY_cookie" is set or not. If its set, redirection should happen.
This is the code that i am currently using, But it ...
0
votes
0answers
15 views
MOD Rewrite keeps adding extra parameter to URL and loops indefinitely
I have a website that has mod rewrites changing URL parameters for SEO. I am trying to add a 301 redirect to it so that the empty subcategory page redirects to the subcategory page with a name of the ...
1
vote
0answers
26 views
php htaccess multiple extensions
Ok for example i want: youtube.com/channel.php?c=pinch
to be : youtube.com/channel/pinch
i have tried the code,but i dont know how to add an extension to an extension.. (channel/pinch), it stays as ...
0
votes
0answers
29 views
Regarding URL redirecting in PHP application
I am new in .HTACCESS, working on a PHP application(say test) in my system. When I click on any hyper link in the application its forward to the root directory (in XAMPP server). Its not redirecting ...
0
votes
1answer
18 views
Use of .htaccess to mitigate denial of service attacks
I have an application that requires logon.
It is only possible to access the site via a single logon page.
I am concerned about DDOS and have (thanks to friends here) been able to write a script ...
0
votes
1answer
15 views
php htacess redirect 404 error page
I am building a LAMP application www.testing.com and I have an image url www.testing.com/image/folderA/a.jpg.
I want to have a rewrite rule in .htacess such that if user navigates to images that do ...
0
votes
1answer
19 views
Special Characters break Generated URLs
I have an automated process which generates urls from the title of venue.
I then use the following line to within my .htaccess to get the url to redirect to the correct path
RewriteRule ...
0
votes
4answers
30 views
Redirect /index.php - wordpress
I want that if someone got link to my site, lets say: www.bla.com/index.php , he will redirect to www.bla.com. or in another words - remove the index.php.
Here is my .htaccess file:
RewriteEngine On
...
0
votes
1answer
26 views
.htaccess redirect everything to subdomain
I want to redirect my pages from mydomain.com/everything to everything.mydomain.com, is it possible?
Something like this but with any word
#if not already blog.website.com
RewriteCond %{HTTP_HOST} ...
0
votes
1answer
41 views
.htaccess SEO friendly URLs - redirect to page
i am looking at .htaccess files and have my site now redirect all links to SEO friendly links
e.g
http://example.com/index.php?page=1 to
http://example.com/home/1/
by using the following code
...
0
votes
3answers
37 views
PHP - Alter URL to hide querystring and display page title instead
I have a selection of pages which currently have a url which looks something like this:
www.mydomain.com/directory/?id=123
This displays a story from a mySQL table with the id of 123.
What I would ...