htaccess query

General discussion on PHP

Re: htaccess query

Postby jess9369 on Thu Oct 12, 2017 10:35 am

It is very easy to set 301 redirect codes in your .htaccess file let Google or another search engines and the other at recognize that one of the old has been changed by the newest one. This is recommended a process for directing traffic from an accessible page. Here are examples follow may be it will help you.
Attachments
3.png
3.png (54.69 KiB) Viewed 249 times
2.png
2.png (55.71 KiB) Viewed 249 times
1.png
1.png (101.93 KiB) Viewed 249 times
jess9369
 
Posts: 1
Joined: Thu Oct 12, 2017 9:53 am
Location: United Kingdom

Re: htaccess query

Postby emma3080 on Tue Nov 07, 2017 10:23 am

What kind of access are you looking forward too.
emma3080
 
Posts: 9
Joined: Tue Nov 07, 2017 9:01 am

Re: htaccess query

Postby stev5136 on Thu Nov 16, 2017 10:11 am

.htaccess is a configuration file for use on web servers running the Apache Web Server software. When a .htaccess file is placed in a directory which is in turn 'loaded via the Apache Web Server', then the .htaccess file is detected and executed by the Apache Web Server software. These .htaccess files can be used to alter the configuration of the Apache Web Server software to enable/disable additional functionality and features that the Apache Web Server software has to offer. These facilities include basic redirect functionality, for instance if a 404 file not found error occurs, or for more advanced functions such as content password protection or image hot link prevention.

Here is an example of what you might include in a .htaccess file.

AuthName "Member's Area Name"
AuthUserFile /path/to/password/file/.htpasswd
AuthType Basic
require valid-user
ErrorDocument 401 /error_pages/401.html
AddHandler server-parsed .html

For more web development related and web programming related assignment help contact GoAssignmentHelp. They are the well known assignment writing help for Web programming in Australia.
stev5136
 
Posts: 1
Joined: Thu Nov 16, 2017 10:04 am

Previous

Return to PHP

Who is online

Users browsing this forum: No registered users and 4 guests