472,961 Members | 2,637 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,961 software developers and data experts.

How Can i Redirect index page.....

luckysanj
Dear Sir,

How can i redirect index page to wwx.site.com/me/index.php.

I have not fineshed front index page work so now i want to redirect this page to my personal information which is located on wwx.site.com/me.

And I inform to user that the index page is under maintenance so this page is redireting to personal information page like wwx.site.com/me.

This all is my own concept so plz clear me that. Is it right method to redirecting index page to sub directories index page.

Thank you.
Jul 19 '09 #1
8 2886
I think there is no one expret avaliabe.
Jul 20 '09 #2
Dormilich
8,658 Expert Mod 8TB
usually, if you don't specify a file (i.e. you specify a directory) the web server loads the current index file (index.html, index.php, ...) or displays a 404 message.

of course you can use your server administration (or .htaccess) to redirect to any specific file you want.
Jul 20 '09 #3
Markus
6,050 Expert 4TB
You might use a header() redirect, although I second Dorm's suggestion of using an .htaccess file.

PHP: (index.php)
Expand|Select|Wrap|Line Numbers
  1. <?php
  2. header("Location: me/index.php"); // or Location: http://fullurl.com/me/index.php
  3. ?>
  4.  
Jul 20 '09 #4
ya but when we redirecting the main index page to like header("Location: me/index.php"); then we inform to user that that main page is redirecting due to under maintenance.

How can i do this?
Jul 20 '09 #5
Dormilich
8,658 Expert Mod 8TB
in HTML you would prepare the appropriate message in the page and use
Expand|Select|Wrap|Line Numbers
  1. <meta http-equiv="refresh" content="_time_in_seconds_;url=_destination_url_">
Jul 20 '09 #6
I can't understand what you have told.
Jul 20 '09 #7
Dormilich
8,658 Expert Mod 8TB
use a HTML redirect (instead of PHP or Apache)
Jul 20 '09 #8
Thank you Sir .
Jul 21 '09 #9

Sign in to post your reply or Sign up for a free account.

Similar topics

12
by: Andrew Chalk | last post by:
In a Python script running under CGI, can I programatically redirect the program to another page. Assume that I have a static HTML page that I want displayed (e.g. index.htm). Other than 'print...
3
by: Mr B | last post by:
Howdy all, I have 2 domain names that both go to the same website. For example, if www.XXXX.com is the primary name for the website, if you type in www.XXXX.com or www.YYYY.com, they both go...
3
by: Tom | last post by:
Hi, I have an index.aspx page which includes top.aspx, left.aspx, main.aspx and bottom.aspx. In the left.aspx, there is a login web control - login.ascx. It keeps session of username and role...
1
by: Andy Todd | last post by:
Hi We have just moved an ASP.NET application into the live environment which is as follows: Sun Proxy Server / Firewall Windows 2000 Server / IIS5 The URL for the site maps to the Sun...
1
by: Lionel | last post by:
Hi, I've a VB .Net web app (for example foo) on an internal server. In the intranet we can access this application like this : http://myserver/foo/index.aspx. Now we want to make this...
7
by: savvy | last post by:
I able to redirect the user to the index.aspx page after every successful login, but I dont want certain pages outside the folder to have a access to general public. So if they click that...
10
by: Big Moxy | last post by:
I want to redirect the user back to the home page after submitting their form inquiry and display a message on the home page. I tried this in my send mail (apply.php) file - $_SESSION == "Thank...
0
by: peanutgnome | last post by:
Folks, looking for a little guidance on an .htaccess redirect problem - I'm a bit of a newbie when it comes to the rewriting of urls... We've changed from one CMS to another on our company...
1
by: gnawz | last post by:
Hi guys, I have a couple of php files that perform various tasks. I will use fields in my system and provide code as well I need help as follows: My database contains the fields Category...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
4
NeoPa
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
3
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.