224 Topics
|
|
Helllo guys am trying to build my first ASP.NET application here and I have a **Models** folder and **Controllers** folder. The models folder contains the class for an entity called customer whose properties are to be read from sqlite database. Thee is also a **Pages** folder that contains a folder … |
|
Hi All, It has been a long while since I've been here, but I have hit a wall/mind block/ whatever you want to call it. This should be simple, but drawing a complete blank. I have an affiliate website where my clients can refer us to their friends and receive … |
|
Help me My Pc is hang right now |
|
Hi Everyone, I have copied a .htaccess file from one website and I am trying to use the same htaccess file on a different website. here is the copy of the htaccess file I have copied from one site to another... <IfModule mod_rewrite.c> RewriteEngine on RewriteRule ^(\d+)/([^/]+)/?$ index.php?uiid=$1&title=$2 [L] </IfModule> … |
|
Hey! Having some more fun with htaccess again! - I have tired everyhting and cant get it to play... Below is my code: RewriteEngine On RewriteCond %{HTTPS} off RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] RewriteCond %{REQUEST_URI} !(/$|\.) RewriteRule (.*) %{REQUEST_URI}/ [R=301,L] RewriteBase /v2/ RewriteCond %{SCRIPT_FILENAME} !-d RewriteCond %{SCRIPT_FILENAME} !-f # Admin Pages … |
|
Hey! I have the following code for htaccess that directs /page/ to /page.php etc RewriteEngine On RewriteCond %{HTTPS} off RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] RewriteCond %{REQUEST_URI} !(/$|\.) RewriteRule (.*) %{REQUEST_URI}/ [R=301,L] #RewriteBase / RewriteCond %{SCRIPT_FILENAME} !-d RewriteCond %{SCRIPT_FILENAME} !-f RewriteRule ^([a-z0-9\-]+)/?$ $1.php [NC,L,QSA] However, I want to also add /admin/page/ that … |
|
Hello, I am trying to redirect my website from desktop version to mobile version. Here is the desktop version example: http://www.example.com Here is what I have accomplished: http://m.example.com The problem is that some files are stored under the www version and I want them to be shown on the m … |
|
I want to redirect my users to my mobile site. My mobile site is in a subfolder instead of a subdomain. Here is how I want it to work ... Request sent to: https://www.picturepunches.com/hot Redirect to: https://www.picturepunches.com/mobile/hot I also don't want to effect the images on that page. So I … |
|
hi, I am created 3 tables for 1> category 2> subcategory 3> projectdetail In my website folder structure root-index.php, header.php footer.php folder- about -index.php and other files folder - project- index.php folder - err- 404.php In my php page project/index.php i make left column dynamic, i.e call value from table … |
|
I'm using the following to redirect http to https in my root directory htaccess file <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{HTTPS} off RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] </IfModule> But this seems not to work if I access directly sub directories (http://example.com/sub-directory/) unless I place this mod_rewrite in an htaccess file in … |
|
I have to do this: "the .htaccess file should allow the following directives" `DirectoryIndex` `Deny` `Allow` `Options` `Order` `AddHandler` `RewriteEngine` `RewriteBase` `RewriteCond` `RewriteRule` But I have no clue where to start with this. If I read about the first one for example https://httpd.apache.org/docs/2.4/mod/mod_dir.html then the default value is `DirectoryIndex index.html`which … |
|
Hello, I am having a problem with .htaccess file here. I am having a program written with laravel and whatever /... I write change into localhost/dashboard. Someone mention I need to change the .htaccess file but I do not know how to. If anyone here can help me please do … |
|
Please see here https://processwire.com/talk/topic/15108-pw-in-subdirectory/ where I've been updating on this. |
|
I already tried couple solution from Google, but some of them didn't work (at all), others resulted in weird bug, where HTML page was loaded, but assets (CSS and images) didn't. Other times there were too many redirects and page freaked out. I have account on Cloud Flare, but both … |
|
I want to redirect every user on my site to folder - if folder exists with htaccess. Regardless to which page he wants to access (index.php, team.php, custom.php), he must be redirected to the folder I want. |
|
I have a admin folder where various .html files are there what happening is when i type http://mydomain.com/index.html it opens up a page and various other page but i want to put restrictions that if user is logined then only he can open other pages otherwise not. What i know … |
|
http://www.xyz.com/detail.php?course=InDesign_CC i want url http://www.xyz.com/detail/InDesign_CC using htaccess ......help me i try a lot but not get success. |
|
Hi guys & dolls, I'm working on a website locally with MAMP and the directory tree is the same then that of the dev directory on my web server. `projects --> ecwc --> concept` But I've set the 'projects' directory on my webserver as a subdomain and this screws up … |
|
how to remove the .php and .html from my file names. thnx |
|
I am helping a friend switch from Godaddy quick shopping cart to magento. Unfortunately the Godaddy cart automatically creates product and catalog URLS. Using caps, dashes and underscores. I can dupe the link text but magento only allows dashes and no caps, I'd rather not use caps or underscores anyway. … |
|
Hi there, I have strange situation. In google's serp i found indexed url's like this: **site.org/index.php/2015-06-27-18-17-32/2014-05-03-23-24-55/76-m40?page=3** how to remove this **/2015-06-27-18-17-32/2014-05-03-23-24-55/76-m40?page=3** if not exists ? Maybe with htaccess, but how ? I want to redirect to index.php all url's when directory not exists. I found some rules but not working … |
|
Hi, I have the following entry in my Awstats file: Unknown robot (identified by 'bot*') How can I block this bot? I tried the following separately but none of them seems to be catching it: RewriteCond %{HTTP_USER_AGENT} ^bot* RewriteCond %{HTTP_USER_AGENT} bot\* RewriteCond %{HTTP_USER_AGENT} bot[*] Thanks for any ideas. |
|
Hello!I have an problem may be someone can help me about it,I put in folder swf-s and i am protecting them with htaccess. I give access some websites,my problem is to block some urls who are geting iframe embed from website have access.Is possible to block swf players dont appeard … |
|
Hi I am trying to redirect a url in the htaccess file. RewriteEngineOn RewriteRule ^wakins.co.uk$ http://www.watkins.co.uk [R=301,L] and I have also tried this RewriteEngineOn RewriteRule ^/wakins.co.uk$ http://www.watkins.co.uk [R=301,L] Thanks in advance D |
|
Hi, How to make visible directory using htaccess? am using this in my htaccess. am getting below error. Server error! The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there was an error in a CGI script. If you think … |
|
Hi I purchased windows hosting for php from Godaddy. But my .htaccess is not support in windows, so i have to use web.config for my redirection and hidding the filename extension. Can anyone please help me to fix the issue. |
|
I have a few dozen links like: http://www.domain.com/publication?id=test http://www.domain.com/publication?id=test&tkn=25MMI7 http://www.domain.com/publication?id=VfgodzE4Akg&tkn=25GJK02&gid=VCsfkQENp4g:20150323:s I want to be able to redirect them to: http://www.domain.com/publication/?id=test http://www.domain.com/publication/?id=test&tkn=25MMI7 http://www.domain.com/publication/?id=VfgodzE4Akg&tkn=25GJK02&gid=VCsfkQENp4g:20150323:s How can I do this? Thank you. |
|
Hi I have a twiiter user linking to a specific page on my website which I would like to redirect to my home page. From the internet I have found and adapted the following code RewriteCond %{HTTP_REFERER} (twitter.com) [NC] RewriteRule myloginpage.php http://mywebsite.org/index.html [R,L,NC] Unfortunately this doesn't do anything. Can anyone … |
|
Hi folks, I have a situation that's most easily explained via example, I think. So here goes. Let's say I have the following URLs: 1. /page.asp?id=123 2. /page.asp?id=123&category=ABC 3. /page.asp?id=123&category=ABC&var3=X&var4=Y I need these pages redirected. Currently links 1, and 2 redirect correctly. Option 3 though can have an arbitrary number … |
|
Hi guys, I have this weird .htaccess rule that is used for a dropdown search engine RewriteRule ^([^/]+)/([^/]+)/([^/]+)/([^/]+) index.php?bla1=$1&bla2=$2... and so on [L] If I want to maintain the above rule, it is allright. The problem is that I want to creat a new rule with 3 variables, but the … |
The End.