GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   WORDPRESS: Can someone help me, im sure its easy.. (https://gfy.com/showthread.php?t=495196)

Deej 07-22-2005 05:09 PM

WORDPRESS: Can someone help me, im sure its easy..
 
Using wordpress and I want my blog to open up when my someone inputs www.website.com instead of www.website.com/wordpress/

I changed the options to open with the domain.....now i either have to modify some php file....or i need to have my index.html file auto load to
www.website.com/wordpress/

I just need to know what my options are....and if i need to throw in a tag or script that auto loads the index file ....wichever.....and i cant seem to find any script like this.....

so any takers....im sure this is so fuckin easy, but hey....So am I :thumbsup

chadglni 07-22-2005 05:10 PM

I uploaded mine in the main directory.

nofx 07-22-2005 05:13 PM

Here's the quick version of the instructions, for those that are already comfortable with performing such installations. More detailed instructions follow.

1. Download and unzip the WordPress package, if you haven't already.
2. Create a database for WordPress on your web server, as well as a MySQL user who has all privileges for accessing and modifying it.
3. Rename the wp-config-sample.php file to wp-config.php.
4. Open wp-config.php in your favorite text editor and fill in your database details.
5. Place the WordPress files in the desired location on your web server:
* If you want to integrate WordPress into the root of your domain (e.g. http://example.com/), move or upload all contents of the unzipped WordPress directory (but excluding the directory itself) into the root directory of your web server.
* If you want to have your WordPress installation in its own subdirectory on your web site (e.g. http://example.com/blog/), rename the directory wordpress to the name you'd like the subdirectory to have and move or upload it to your web server. For example if you want the WordPress installation in a subdirectory called "blog", you should rename the directory called "wordpress" to "blog" and upload it to the root directory of your web server.

6. Run the WordPress installation script by accessing wp-admin/install.php in your favorite web browser.
* If you installed WordPress in the root directory, you should visit: http://example.com/wp-admin/install.php
* If you installed WordPress in its own subdirectory called blog, for example, you should visit: http://example.com/blog/wp-admin/install.php


That's it! WordPress should now be installed.

:)

directfiesta 07-22-2005 05:18 PM

if you don't want to reinstall, just do a redirect of domain.com to domain.com/wordpress/

Deej 07-22-2005 05:40 PM

I see what happened....i got confused in the beginning and I didnt think you could just put it in the root directory.....so if i already have in installed and have posted for 2 weeks....

do i need to re-install it to be bale to change this....or can i just remove the wordpress folder and place the rest in my root dir.?

candyflip 07-22-2005 05:44 PM

Quote:

Originally Posted by Deej
I see what happened....i got confused in the beginning and I didnt think you could just put it in the root directory.....so if i already have in installed and have posted for 2 weeks....

do i need to re-install it to be bale to change this....or can i just remove the wordpress folder and place the rest in my root dir.?

I don't think it's as easy as that in the case of Wordpress, but you could move them and make any needed changes in the config files...not sure what they would be off the top of my head, or even if there are any for sure.

Babagirls 07-22-2005 05:47 PM

im having problems transfering my blog (from blogspot.com) to a .com domain, if anyone wants to take me under their wing & show me, please hit me up LOL :)

baba at babagirl.com
or
babagirls18 on yahoo messenger

im sure its easy as fuck for everyone else but im terrible at technical crap like this. lol :Oh crap

cpanic 07-22-2005 05:50 PM

another solution
 
you could always do a cheap php redirect.

PHP Code:

<? header("Location: http://www.domain.com/wordpress"; ?>


psili 07-22-2005 05:55 PM

.htaccess solution ?

*note, my examples aren't referenced cuz' i'm lazy, so please test first

Code:

AliasMatch ^(.*)$ /root/to/webdirectory/wordpress/$1
or

Code:

RewriteEngine On
RewriteRule ^(.*) /wordpress/$1

I haven't used WordPress, so try the previous posts from people who obviously have.

FrankHolland 07-22-2005 05:56 PM

just re-install it, should be done in 5 mins..

Deej 07-22-2005 05:57 PM

Quote:

you could always do a cheap php redirect.


PHP Code:
<? header("Location: http://www.domain.com/wordpress"; ?>
and i would just put this in the header of my index.html file yes?

just to make sure

or is in one of the php files?

candyflip 07-22-2005 06:00 PM

Quote:

Originally Posted by Deej
and i would just put this in the header of my index.html file yes?

just to make sure

or is in one of the php files?

In the index.html file in your root directory.

directfiesta 07-22-2005 06:12 PM

Since you have been posting for 2 weeks, you would need to do a mysql dump ( backup ) before reinstalling. Then, once reinstalled, you " restore" the dump you did... This way you should keep all the posts.

Or as I and others said, do a redirect ( php or other ).

directfiesta 07-22-2005 06:14 PM

Quote:

Originally Posted by Babagirls
im having problems transfering my blog (from blogspot.com) to a .com domain, if anyone wants to take me under their wing & show me, please hit me up LOL :)

baba at babagirl.com
or
babagirls18 on yahoo messenger

im sure its easy as fuck for everyone else but im terrible at technical crap like this. lol :Oh crap

do you have shell access (old host & new host) ? if yes, the site can be transfered in a few minutes ( 3000.00 fee :1orglaugh ) with rsync:
Quote:

(execute on the new server)
rsync -av -e ssh username@oldserverhost:/home/old_home/ /home/new_home/
leave out the v parameter (verbose) if you do not wish to see the progress.

Deej 07-22-2005 06:44 PM

Cool thanks for the help :thumbsup:

warlock5 07-22-2005 06:48 PM

Here: http://codex.wordpress.org/Moving_WordPress

lilspup 07-22-2005 07:22 PM

throw your index.php in your root folder (leaving all the other files where they are) edit line 4 of the the index.php file to call the folder where blog header is, for example mine looks like this:

<?php
/* Short and sweet */
define('WP_USE_THEMES', true);
require('./wp/wp-blog-header.php');
?>

Deej 07-23-2005 12:19 AM

Quote:

Originally Posted by lilspup
throw your index.php in your root folder (leaving all the other files where they are) edit line 4 of the the index.php file to call the folder where blog header is, for example mine looks like this:

<?php
/* Short and sweet */
define('WP_USE_THEMES', true);
require('./wp/wp-blog-header.php');
?>

this my friend worked....the rest i tried and either didnt quite understand....one i know DIDNT work(course i may have overloooked something but i dont think)

thank you.....man itd be nice just to know the code and where to look, cause that was way too simple....

ill remember the name for future reference :winkwink:


All times are GMT -7. The time now is 09:53 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123