ïŒã¹ããã27)ã§ããã°ã®URLãã¹ãããªãããããŠèšå®ãå€æŽããŸããããã®æ¹æ³ã玹ä»ããŸããããã®åŸãGoogle Search ConsoleãããããŒãžãã€ã³ããã¯ã¹ã«ç»é²ãããªãæ°ããèŠå ãã®ã¡ãŒã«ãå±ããŸãããåå ã¯ãããããšãããšæããŸããURLãå€æŽããããšãåå ã®äžã€ã§ããããã§èª¿ã¹ãŠã¿ãŸããã
URLå€æŽãšãªãã€ã¬ã¯ã
URLãå€ãããšãªãã€ã¬ã¯ããèªåçã®è¡ã£ãŠãããå Žåãšãªãã€ã¬ã¯ãèšå®ãããå¿ èŠãããå Žåãããäºãç¥ããŸãããç¥ããªãã£ãããšãšã¯èšãããã§ã«URLã®ããŒããã³ããªã³ã¯ã®æ§æãå€ããŠããŸããŸãããããã§ããªãã€ã¬ã¯ãã®æ¹æ³ãæ¢ããŸããã
URLãéäžã§å€æŽããããšãäŸãã°å éšãªã³ã¯ïŒãµã€ãå ã®ãªã³ã¯ïŒãå€éšãªã³ã¯ïŒèªåã®ãµã€ã以å€ããã®ãªã³ã¯ïŒããã®ããŒãžã®è¡šç€ºãã§ããªããªã£ãŠããŸããŸããæ€çŽ¢ããæµå ¥ããã£ãŠãURLãå€æŽãããŠãããšãããŒãžã衚瀺ã§ããŸããããšãã£ãç»é¢ãåºãŠããŸããŸãã
ã¯ã掻ãhttps://www.conoha.jp/lets-wp/wp-permalink/#section04-01
URLãå€ãã£ãŠã衚瀺ãããããã«ãå€æŽåã®URLããå€æŽåŸã®URLã«èªåçã«ç§»åãããªãã€ã¬ã¯ãèšå®ãè¡ããŸãããã
WordPressã¯æ§é ãå€ãããªãããŒããªã³ã¯ã®å€æŽïŒæçš¿åâå¥ã®æçš¿åãªã©ïŒã§ããã°èªåçã«ãªãã€ã¬ã¯ãããããŸãããæ§é ãå€ãã£ãŠããŸããšèªåçã«ãªãã€ã¬ã¯ãããããªããªã£ãŠããŸããŸããäŸãã°æ¥ä»ãå ¥ã£ãããŒããªã³ã¯ããæçš¿åã«å€æŽããå Žåã¯ãªãã€ã¬ã¯ãèšå®ãè¡ãå¿ èŠããããŸãã
ç¥
WordPressã®ãªãã€ã¬ã¯ãèšå®ã¯ãã©ã°ã€ã³ã䜿ã£ãŠç°¡åã«è¡ãããšãã§ããŸãã
ãŸããã©ã°ã€ã³ã®æ°èŠè¿œå ããããRedirectionããæ€çŽ¢ããŸãã
URLãã¹ãããªã§ãããšåãã ã®ãæã®éãæ€çŽ¢ããæã«ãããŒãžããããŸããããªã£ãŠè¡šç€ºããããããã£ããããŸãããããã¯ç¥ããªãã£ãããšãšã¯ããã倧ããªãã§ã³ãã§ãããªããšã察çãè¬ããªããšãããŸããã
ããã§ãæ¹æ³ãæ¢ããããã§ãã
ãRedirectionããšãããã©ã°ã€ã³ããŒã«ãã€ã³ã¹ããŒã«ããŠèšå®ããã°ãå€ãURLããæ°ããURLã«ãªãã€ã¬ã¯ãããŠãããããã§ãã
æ©éãæé éãã«ãã£ãŠã¿ãŸããã
WordPressã®ããã·ã¥ããŒãã§ãã©ã°ã€ã³ãæ°ãã«ã€ã³ã¹ããŒã«ãããšããããã®ã¹ã¿ãŒãã§ããã
å€æŽããURLã®æ§URLãšæ°URLãäžä»¶ããšã«èšå®ãããã®ã§ããã
å°ãé¢åã§ãããããæã£ãŠæŽã«ãããããšèª¿ã¹ãŠã¿ãŸããã
ãªãã€ã¬ã¯ããšhtaccess
ãªãã€ã¬ã¯ãã®æ¹æ³ã«htaccessãšããWEBãµãŒããŒã®åããå¶åŸ¡ããèšå®ãããã¡ã€ã«ãããäºãç¥ããŸããããã®ãã¡ã€ã«ã«æãå ããã°ã§ããããã§ããã§ããåå¿è
ã«ã¯å°ãäžå®ãªäœæ¥ã§ãããã
htaccessã®èšè¿°ãšæ¹æ³ã«ã€ããŠã説æãèŠã€ããã®ã§æ©éãã£ãŠã¿ãŸããã
説æãšåãã¬ã³ã¿ã«ãµãŒããŒã¯Xserverãå©çšããŠããŸãããã®å Žåã®æ¹æ³ã説æãããŠããŸããã
Xserverã®ã¢ã«ãŠã³ããããã°ã€ã³
ãŸããµãŒããŒããã«ã¡ãã¥ãŒãã➡ããŒã ããŒãž➡htaccessç·šé
htaccessç·šé
ç·šéãããã¡ã€ã³ãéžã³ãŸãã
ããã§ä»¥äžã®éã泚æã³ã¡ã³ãã
ã.htaccessããç·šéããããšã§ãŠã§ããµãŒããŒã®æåãå¶åŸ¡ããããšãã§ããŸãããªããæ¬ãµãŒããŒããã«ã§æäŸããŠããäžéšæ©èœã®èšå®ã«é¢ããèšè¿°ããWordPressãªã©ã®ããã°ã©ã ã«ããèšè¿°ãèªåçã«è¡ãããŠããå ŽåããããŸãã
Xserverèšå®ç»é¢ãã
å¿åœããããªãèšè¿°ã§ãã£ãŠãäžçšæã«åé€ããªãããã«ã泚æãã ãããç·šéåŸã¯ãŠã§ããµã€ããæ£åžžã«è¡šç€ºãããããå¿ ãã確èªãã ããã
#301 Redirect Date Delete
ãã¡ã€ã«ç·šéç»é¢ã«è¿œèšããŸããããããŠãèšå®ãä¿åã
ããã¯KIXããããPhilipplinesãž ãããŠãã®è¡ãžã»ã»ã»
ã®ããã°ãåç
§ããŸããã
#301 Redirect Date Delete
RewriteEngine On
RewriteRule ^([0-9]{8})/(.*).html$ /$2 [R=301.NC.L]
https://kix2philippines.com/search-regex2-301-redirect/
ããã§OKãã©ãããããŸããªãã€ã¬ã¯ãã§ããã°è¯ãã®ã§ããã
Xserverã®ãµãŒããŒè»¢é
Xserverã®ãµãŒããŒããã«ã«ãµãŒããŒè»¢éãããã®ã§ãããã§ãèšå®ããŠã¿ãŸãããURLäžä»¶ããšã®èšå®ã§ãããèªåã§ç¢ºèªããªããã§ããŸããåå¿è ã«ã¯ããããã¹ã¹ã¡ã®ããã§ãããã£ãŠã¿ãŸããã
æé ã¯ã¡ãã¥ãŒã«æ²¿ã£ãŠè¡ãã°ãåå¿è
ã§ãç°¡åã«ã§ããŸããããã°èšäºã沢山ãããšæéã¯ããããŸããæéãèŠã€ããŠãã£ãŠããã°å€§äžå€«ã§ãã
ä»åã¯ããŒããã³ããªã³ã¯ã§URLãå€æŽããããšãããå§ãŸããŸããããã£ãšãã調ã¹ãŠããããã°è¯ãã£ãã®ãããããŸãããã§ãTry & Errorããããšã§å€ãã®ããšãåŠã¹ãŸããã
次ã¯ãïŒã¹ããã29ïŒWordPressã®äŸ¿å©ãªãã©ã°ã€ã³ Font Awesomeãã«ç¶ããŸãã
ã³ã¡ã³ã
takaã§ãã
ã©ã³ãã³ã°ãµã€ãããæ¥ãŸããã
URLãå€æŽã§ãããã§ããã
ãªãã€ã¬ã¯ãã¯èŠªåã§ããã
åŠã°ããŠããããŸããã
ããã°ãã¯ã
ããã°èšäºãèªãã§ããã ãããããšãããããŸããã
æ¥é äžäººã§PCãšçšãã£ãããŠããäžãã³ã¡ã³ãããã
ã ããŠãšãŠãããããã§ããå±ã¿ã«ãªããŸããã