Cannot change web page title/description - shows Index of
Requesting help from KP Media or Lord Smurf.
Hey guys, I uploaded a site, and the title and description show - Index of - in the search results. I looked around and some people say that its got to do with a file in the cgi or I have to set Apache to point to .html files. I'm not familiar with Stablehost's cPanel yet so I want to make sure that I'm not messing anything up. Thanks, Rey |
Quote:
If these are web pages, then you'll need to edit the header meta in the pages. That also means this... Quote:
Quote:
|
Oh crap, I forgot to add the url: www.avidinspections.net
I also forgot to say that I used dreamweaver templates in this design because the client was a little indecisive and in a rush so I forgot to detach the template. You'll see that I added the title and description after, and there's two titles and descriptions but one of them is in the non-editable region. I think this might be the problem but I don't want to detach the template and delete the title and description that I don't want without messing anything up on the server. The reason I haven't asked Stablehost for any help is because the client signed up with them by herself and she didn't give me the log in info that I need. I haven't been able to get in contact with her either. I want to get this fixed because it's clearly bugging me (a perfectionist) more than the client. It's true, I'm not familiar with cpanel, yet. And the key word is yet. Thanks Kp |
This is your current document head:
Code:
<head> Code:
<title>Avid Inspections Ltd - Home Inspection, Mold Inspection, Mold Remediation</title> Code:
<meta name="description" content="Description" /> The description is the text that appears under your title. You have a title, but no description. Replace content="Description" with content="What this site is about in two short sentences." I think this is what you were after ... correct? :) |
-----edit------
Didn't notice how old this was and already wrote it out.... ----------- Quote:
If none of the default pages listed in the configuration file exist the next thing that happens is the server determines what the Options Indexes directive is set too. By default this directive is usually set to no and anyone trying to access the folder will get a forbidden message: Code:
Options -Indexes. Code:
Options +Indexes. I'm surprised this is set to yes by default as it's a potential security risk and other issues. As long as your web host allows it you can add custom .htaccess folder with the directive that denies listing them. .htacccess is cascading so if you only have to set the root folder to no. If you want to list a subdirectory and the files and folders in it then you can change that. Do search on .htaccess for more info, your host is going to limit what you can and cannot do with .htaccess. If they don't allow you to change it just create new blank text file called index.html and upload it to the folder, you'd use that for example if you have a directory full of images. It's actually a good practice regardless of whether you can change the directive. |
The person is still around, so not too old. ;)
Good stuff. |
Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.